Skip to content

Commit

Permalink
(nut-tree/plugin-ocr#25) Run npx playwright install before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed Oct 17, 2023
1 parent 3c4a8aa commit f88f31b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ jobs:
- name: Generate coverage report
uses: GabrielBB/xvfb-action@v1
with:
run: npm run coverage -- --coverageDirectory=coverage/unit
run: |
npx playwright install --with-deps
npm run coverage -- --coverageDirectory=coverage/unit
- name: Run Docker E2E tests
if: ${{matrix.os == 'ubuntu-latest'}}
run: docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} ${{matrix.node}}"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/snapshot_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
run: |
npx playwright install --with-deps
npm test
- name: Run Docker E2E tests
if: ${{matrix.os == 'ubuntu-latest'}}
run: docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} ${{matrix.node}}"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tagged_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
- name: Generate coverage report
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
run: |
npx playwright install --with-deps
npm test
- name: Run Docker E2E tests
if: ${{matrix.os == 'ubuntu-latest'}}
run: docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} ${{matrix.node}}"
Expand Down

0 comments on commit f88f31b

Please sign in to comment.