Skip to content

Commit

Permalink
run all tests on win
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Dec 11, 2023
1 parent 613996f commit eb421f0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test-win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ jobs:
with:
node-version: 20
- run: npm ci
- run: npm install @playwright/[email protected] @cucumber/cucumber@${{ matrix.cucumberVersion }}
- run: npm install @cucumber/cucumber@${{ matrix.cucumberVersion }}
- run: npx playwright install --with-deps chromium
- name: run tests
run: |
# node test/setup.mjs
# node test/bdd-syntax/test.mjs
# node test/snippets-playwright-style/test.mjs
# this command gets all test files in powershell
node test/setup.mjs
node test/bdd-syntax/test.mjs
node test/snippets-playwright-style/test.mjs
# this command gets all test files in powershell
# node --test $(Get-ChildItem -Path test -Recurse -Include test.mjs).FullName
node --test test/**/test.mjs
# node --test $(Get-ChildItem -Path test -Recurse -Include test.mjs).FullName
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down

0 comments on commit eb421f0

Please sign in to comment.