Skip to content

Commit

Permalink
Fixing cypress test action
Browse files Browse the repository at this point in the history
  • Loading branch information
krachwal committed Dec 15, 2023
1 parent cd960be commit d56351d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/run-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4
- name: "Install dependency and run dependency check"
working-directory: ./react-frontend
run: npm install depcheck -g && depcheck --ignores "typescript,@types/node,eslint,prettier,jest,@types/jest"
run: npm install depcheck -g && depcheck --ignores "typescript,@types/node,eslint,prettier,jest,@types/jest"
run-cypress-tests:
runs-on: ubuntu-latest
name: "Run Cypress Tests"
Expand All @@ -28,7 +28,15 @@ jobs:
steps:
- name: "Checkout repo"
uses: actions/checkout@v4
- name: "Run Cypress tests"
- name: "Setup python"
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: "Run web server"
working-directory: ./python-backend
run: |
python -m pip install --upgrade pip
- name: "Run Cypress end-to-end tests"
uses: cypress-io/github-action@v6
with:
working-directory: ./react-frontend
Expand Down

0 comments on commit d56351d

Please sign in to comment.