Skip to content

Commit

Permalink
Use pre-installed playwritght container for widget-tests (#165)
Browse files Browse the repository at this point in the history
* use pre-installed playwritght container for widget-tests

* use HOME=root workaround for firefox

-> see microsoft/playwright#6500 (thanks, @thewilkybarkid !)
  • Loading branch information
ships authored Nov 13, 2023
1 parent 5c10bdd commit 6fe81a2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/widget-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
nodejs_test:
runs-on: ubuntu-latest
container: mcr.microsoft.com/playwright:v1.39.0

timeout-minutes: 20

Expand Down Expand Up @@ -58,15 +59,10 @@ jobs:
cd ${{env.PKG_DIR}}
pnpm run -r build;
- name: Install Playwright Browsers
run: |
cd ${{env.PKG_DIR}}
pnpm run install:browsers
- name: Run Playwright tests
run: |
cd ${{env.PKG_DIR}}
pnpm run test
HOME=/root pnpm run test
- uses: actions/upload-artifact@v3
if: always()
Expand Down

0 comments on commit 6fe81a2

Please sign in to comment.