Skip to content

End-to-end tests

End-to-end tests #71

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

View workflow run for this annotation

GitHub Actions / End-to-end tests

Invalid workflow file

The workflow is not valid. .github/workflows/cypress-test-basic.yaml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
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 }}