diff --git a/.github/workflows/run-frontend-tests.yml b/.github/workflows/run-frontend-tests.yml index 20b349c..4aecf9f 100644 --- a/.github/workflows/run-frontend-tests.yml +++ b/.github/workflows/run-frontend-tests.yml @@ -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" @@ -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