From 3e0527bd415abeeddfb0ef402b13dc763b88c122 Mon Sep 17 00:00:00 2001 From: Kay Robbins <1189050+VisLab@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:11:07 -0500 Subject: [PATCH] Separated the spec-tests into separate github action --- .github/workflows/ci.yml | 15 --------------- .github/workflows/jsontests.yaml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/jsontests.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbc0dc47..d28b86ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,18 +44,3 @@ jobs: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: coverageCommand: ./node_modules/.bin/jest --coverage --testPathIgnorePatterns=spec_tests - - SpecTests: - runs-on: ubuntu-latest - - steps: - - name: Check out the code - uses: actions/checkout@v4 - - name: Set up with Node.js LTS - uses: actions/setup-node@v4 - with: - node-version: lts/* - - name: Download dependencies - run: npm ci - - name: Test with Node.js LTS - run: npm run testSpecs diff --git a/.github/workflows/jsontests.yaml b/.github/workflows/jsontests.yaml new file mode 100644 index 00000000..225fa1bf --- /dev/null +++ b/.github/workflows/jsontests.yaml @@ -0,0 +1,23 @@ +name: jsontests + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + SpecTests: + runs-on: ubuntu-latest + + steps: + - name: Check out the code + uses: actions/checkout@v4 + - name: Set up with Node.js LTS + uses: actions/setup-node@v4 + with: + node-version: lts/* + - name: Download dependencies + run: npm ci + - name: Test with Node.js LTS + run: npm run testSpecs