From e14d480678a4b61ff0aae4effa43fe0238ac0f13 Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Thu, 10 Aug 2023 17:08:25 +0200 Subject: [PATCH] Separate test and spec on CI. --- .github/workflows/ci.yml | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0464030f..4d2709fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ jobs: test: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: - 12.x @@ -23,10 +24,6 @@ jobs: - run: npm run build - run: npm run lint - run: npm run test - - run: npm run spec-turtle - - run: npm run spec-ntriples - - run: npm run spec-nquads - - run: npm run spec-trig - run: npx nyc report --reporter=text-lcov > lcov.info - uses: coverallsapp/github-action@master with: @@ -35,6 +32,29 @@ jobs: parallel: true path-to-lcov: lcov.info + spec: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: + - 12.x + - 14.x + - 16.x + - 18.x + - 20.x + steps: + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - uses: actions/checkout@v2 + - run: npm ci + - run: npm run spec-turtle + - run: npm run spec-ntriples + - run: npm run spec-nquads + - run: npm run spec-trig + coveralls: needs: test runs-on: ubuntu-latest @@ -64,8 +84,9 @@ jobs: gh-pages: needs: - - docs - test + - spec + - docs runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') steps: