End-to-end tests #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: End-to-end tests | ||
on: | ||
workflow_run: | ||
workflows: ["Deployment"] | ||
types: | ||
- completed | ||
jobs: | ||
cypress-test: | ||
Check failure on line 8 in .github/workflows/cypress-test-basic.yaml GitHub Actions / End-to-end testsInvalid workflow file
|
||
container: | ||
image: cypress/included | ||
needs: deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Cypress run | ||
uses: cypress-io/github-action@v2 | ||
with: | ||
wait-on: 'http://capstone-dre.dns.net.za' | ||
wait-on-timeout: 300 | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} |