Skip to content

Commit

Permalink
Split out the preview and the running of the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
20041540MichaelKelly authored Jan 22, 2024
1 parent 9c1aead commit bb09c3c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
repository: tutors-sdk/tutors-apps
path: ./dynamic-app-tests
ref: test/add-cypress-tests
- name: Run preview & cypress tests
run: npm run preview && npx cypress run --record --key ${{ secrets.CYPRESS_RECORD_KEY }} --config-file ./dynamic-app-tests/cypress/tsconfig.json
- name: Run preview
run: npm run preview
working-directory: ./

- name: Run cypress tests
run: npx cypress run --record --key ${{ secrets.CYPRESS_RECORD_KEY }} --browser chrome
working-directory: ./dynamic-app-tests/cypress

0 comments on commit bb09c3c

Please sign in to comment.