From c405e37fa3216d22a143b40fa3e7769946521f11 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 11 Feb 2021 14:29:50 -0800 Subject: [PATCH] [tests] separate tests and linting --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cbf5d3a40ee9..cc1eca7c9e285 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,8 @@ jobs: fail-fast: false matrix: node-version: [10.x, 12.x, 14.x] + script: + - 'test' platform: - os: ubuntu-latest shell: bash @@ -17,6 +19,12 @@ jobs: 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: @@ -42,7 +50,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 . ${{ matrix.script }} --ignore-=scripts -- -t600 -Rbase -c env: DEPLOY_VERSION: testing