diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ea3bbf8b82..481c453f73 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -25,8 +25,12 @@ jobs: - name: Install Dependencies run: "./scripts/layered.sh" + - name: Get number of CPU cores + id: cpu-cores + uses: SimenB/github-actions-cpu-cores@v1 + - name: Run tests with coverage - run: "yarn coverage --ci" + run: "yarn coverage --ci --reporters github-actions --max-workers ${{ steps.cpu-cores.outputs.count }}" - name: Upload Artifact uses: actions/upload-artifact@v2