Run all Cypress tests #144
This file contains hidden or 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 | |
| run-name: Run all Cypress tests | |
| on: [push] | |
| jobs: | |
| Cypress: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| - run: echo "Running end-to-end tests on ${{ github.ref }}" | |
| - run: npm install | |
| - run: npm install -g @angular/cli | |
| - name: Run server | |
| run: ng serve& | |
| - name: Run Cypress tests | |
| run: npx cypress run --browser chrome | |
| - run: echo "Status is ${{ job.status }}" |