...
Some checks failed
Run Tests / Prepare environment (push) Successful in 3m49s
Run Tests / Run unit tests (push) Failing after 1m26s
Run Tests / Run E2E tests (edge) (push) Failing after 2m42s
Run Tests / Run E2E tests (chrome) (push) Failing after 22m8s
Run Tests / Run E2E tests (firefox) (push) Failing after 26m2s

This commit is contained in:
Mrrp 2025-03-06 02:27:42 -08:00
parent bf379edb16
commit 71c2584485

View file

@ -46,6 +46,12 @@ jobs:
path: ~/.cache/Cypress path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ env.NODE_VERSION }}-${{ hashFiles('package-lock.json') }} key: cypress-${{ runner.os }}-${{ env.NODE_VERSION }}-${{ hashFiles('package-lock.json') }}
- name: Cache Node modules
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ env.NODE_VERSION }}-${{ hashFiles('package-lock.json') }}
- name: Install Cypress - name: Install Cypress
run: npx cypress install run: npx cypress install
@ -78,11 +84,16 @@ jobs:
name: build name: build
path: dist path: dist
- name: Restore Node modules cache
uses: actions/cache@v4
with:
name: node-modules
- name: Run unit tests - name: Run unit tests
run: npm run test:unit run: npm run test:unit
cypress-tests: cypress-tests:
name: Run E2E tests name: Run E2E tests (${{ matrix.browser }})
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: install needs: install
strategy: strategy:
@ -109,7 +120,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y ${{ env.APT_PACKAGES }} run: sudo apt-get update && sudo apt-get install -y ${{ env.APT_PACKAGES }}
- name: Cypress run (${{ matrix.browser }}) - name: Cypress run (${{ matrix.browser }})
uses: cypress-io/github-action@v6 uses: https://github.com/cypress-io/github-action@v6
with: with:
start: npm start start: npm start
browser: ${{ matrix.browser }} browser: ${{ matrix.browser }}