Skip to content

Commit

Permalink
[patch] try fixing tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Sep 11, 2024
1 parent 6898db7 commit 97458b6
Show file tree
Hide file tree
Showing 10 changed files with 203 additions and 46 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ concurrency:
cancel-in-progress: true

jobs:
build:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -26,10 +26,11 @@ jobs:
- if: runner.os == 'Windows'
shell: bash
run: |
npm install npm
npm i npm
- name: run test
shell: bash
run: |
npm ci
npx playwright install --with-deps
npm run format package.json
npm run test:all
209 changes: 177 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"node": ">=22"
},
"overrides": {
"playwright": "1.46.1",
"virmator": "*"
}
}
2 changes: 1 addition & 1 deletion packages/compile/src/compile.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe(virmatorCompilePlugin.name, () => {
* are stable.
*/
if (logType === LogOutputType.standard) {
return arg.replace(/ Version.+/, '');
return arg;
}
return arg;
},
Expand Down
Loading

0 comments on commit 97458b6

Please sign in to comment.