diff --git a/.github/workflows/tmp-fix-integration-test.yml b/.github/workflows/tmp-fix-integration-test.yml index e83d48a7..c9463dc4 100644 --- a/.github/workflows/tmp-fix-integration-test.yml +++ b/.github/workflows/tmp-fix-integration-test.yml @@ -36,7 +36,27 @@ jobs: if: steps.files-cache.outputs.cache-hit == 'true' run: ~/.meteor/meteor npm run build - test-integration: + unit-tests: + needs: build + name: Unit Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Get Cache dependencies + uses: actions/cache@v3 + id: files-cache + with: + path: | + dist + node_modules + /tmp/.__tmp_int + ~/.meteor + ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} + - name: Run test script + run: ~/.meteor/meteor npm run test + + integration-tests: needs: build name: Integration Tests runs-on: ubuntu-latest @@ -54,7 +74,7 @@ jobs: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} - run: ~/.meteor/meteor npm run prepare-integration-tests - - name: Run integration tests using Xvfb + - name: Run test-integration script (using Xvfb) uses: coactions/setup-xvfb@v1 with: # needs full path to meteor run: /home/runner/.meteor/meteor npm run test-integration