Skip to content

Commit

Permalink
[tests] separate tests and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Feb 11, 2021
1 parent 8ae39d1 commit a641bd9
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ jobs:
fail-fast: false
matrix:
node-version: [10.x, 12.x, 14.x]
script:
- 'test'
platform:
- os: ubuntu-latest
shell: bash
- os: macos-latest
shell: bash
- os: windows-latest
shell: bash
- os: windows-latest
shell: powershell
- os: ubuntu-latest
shell: bash
- os: macos-latest
shell: bash
- os: windows-latest
shell: bash
- os: windows-latest
shell: powershell
include:
- node-version: '14.x'
script: 'posttest'
platform: { 'os': 'ubuntu-latest', 'shell': 'bash' }

runs-on: ${{ matrix.platform.os }}
defaults:
Expand All @@ -42,7 +48,7 @@ jobs:
# Run the tests, but not if we're just gonna do coveralls later anyway
- name: Run Tap tests
if: matrix.platform.os != 'ubuntu-latest' || matrix.node-version != '12.x'
run: node . test -- -t600 -Rbase -c
run: node . run --ignore-=scripts ${{ matrix.script }} -- -t600 -Rbase -c
env:
DEPLOY_VERSION: testing

Expand Down

0 comments on commit a641bd9

Please sign in to comment.