From 6d549a2045e5b2a32f232ad30bb4130db63aaea7 Mon Sep 17 00:00:00 2001 From: Rikki Schulte Date: Mon, 12 Feb 2024 13:08:03 +0100 Subject: [PATCH] tests not running seperately --- .github/workflows/pr.yml | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 47ee3df4091..3b5dda66eee 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -86,8 +86,8 @@ jobs: key: modules-${{ github.sha }} - run: yarn pretty-check - jest-unit: - name: Jest Unit Tests + jest: + name: Jest Unit & Integration Tests runs-on: ubuntu-latest needs: [install] steps: @@ -101,29 +101,7 @@ jobs: path: | **/node_modules key: modules-${{ github.sha }} - - run: yarn test:unit --coverage - - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: coverage/lcov.info - fail_ci_if_error: true - verbose: true - jest-spec: - name: Jest Integration Tests - runs-on: ubuntu-latest - needs: [install] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - id: cache-modules - uses: actions/cache@v3 - with: - path: | - **/node_modules - key: modules-${{ github.sha }} - - run: yarn test:spec --coverage + - run: yarn test --coverage - uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }}