Skip to content

Commit

Permalink
test: run collab tests in CI on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed Mar 29, 2023
1 parent fbdd427 commit 1786e1a
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,50 @@ jobs:
name: Test Results
path: ./demos/playground/playwright-report
retention-days: 7

e2e-collab-windows:
runs-on: windows-latest
strategy:
#fail-fast: false
matrix:
node-version: [18.11]
browser: ['chromium', 'firefox']
env:
CI: true
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm i
working-directory: ./demos/playground
- name: Download browsers
run: pnpm playwright install
working-directory: ./demos/playground
- run: pnpm test-e2e-collab-ci-${{ matrix.browser }}
working-directory: ./demos/playground
- name: Upload Artifacts
if: failure()
uses: actions/upload-artifact@v3
with:
name: Test Results
path: ./demos/playground/playwright-report
retention-days: 7

0 comments on commit 1786e1a

Please sign in to comment.