Skip to content

Commit

Permalink
Comment cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
remyvdwereld committed Aug 13, 2024
1 parent cac71ce commit 9eba3f8
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:
- name: Test
run: npm test

- name: Cypress run
if: ${{ github.actor != 'dependabot[bot]' }}
uses: cypress-io/github-action@v4
with:
record: false
# Run test against acc, otherwise a local backend is needed.
start: npm run acc
wait-on: "http://localhost:2999/"
env:
# pass GitHub token to allow accurately detecting a build vs a re-run build for Cypress Dashboard
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# pass the Dashboard record key as an environment variable for Cypress Dashboard
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CYPRESS_TEST_USER_PASSWORD: ${{ secrets.CYPRESS_TEST_USER_PASSWORD }}
# - name: Cypress run
# if: ${{ github.actor != 'dependabot[bot]' }}
# uses: cypress-io/github-action@v4
# with:
# record: false
# # Run test against acc, otherwise a local backend is needed.
# start: npm run acc
# wait-on: "http://localhost:2999/"
# env:
# # pass GitHub token to allow accurately detecting a build vs a re-run build for Cypress Dashboard
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# # pass the Dashboard record key as an environment variable for Cypress Dashboard
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# CYPRESS_TEST_USER_PASSWORD: ${{ secrets.CYPRESS_TEST_USER_PASSWORD }}

- name: Build
run: docker build .

0 comments on commit 9eba3f8

Please sign in to comment.