Skip to content

Commit

Permalink
ci: isolate windows
Browse files Browse the repository at this point in the history
  • Loading branch information
metcoder95 committed Nov 27, 2024
1 parent a67d805 commit 64a02fa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ jobs:
- 22
- 23
runs-on:
- ubuntu-latest
# - ubuntu-latest
- windows-latest
- macos-latest
# - macos-latest
uses: ./.github/workflows/test.yml
with:
node-version: ${{ matrix.node-version }}
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ jobs:
run: npm ls --all
continue-on-error: true

- name: Run tests with coverage
id: coverage
if: inputs.runs-on == 'ubuntu-latest' && inputs.node-version == 22
run: npm run coverage:ci
env:
CI: true
NODE_V8_COVERAGE: ./coverage/tmp
# - name: Run tests with coverage
# id: coverage
# if: inputs.runs-on == 'ubuntu-latest' && inputs.node-version == 22
# run: npm run coverage:ci
# env:
# CI: true
# NODE_V8_COVERAGE: ./coverage/tmp

- name: Run tests
if: steps.coverage.outcome == 'skipped'
run: npm run test:javascript
# if: steps.coverage.outcome == 'skipped'
run: npm run test:h2:core -- --only
env:
CI: true

- name: Coverage Report
if: inputs.runs-on == 'ubuntu-latest' && inputs.node-version == 20
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
# - name: Coverage Report
# if: inputs.runs-on == 'ubuntu-latest' && inputs.node-version == 20
# uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
# with:
# token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 64a02fa

Please sign in to comment.