From 2c0e344a0ae4b4a630a283bb8f7ab90bd4d9cf95 Mon Sep 17 00:00:00 2001 From: Bob Evans Date: Mon, 19 Aug 2024 11:09:01 -0400 Subject: [PATCH] ci: Opening PR to test codecov --- .github/workflows/ci-workflow.yml | 9 +-------- test/unit/adaptive-sampler.test.js | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 1ba1b55d43..1a8356547c 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -235,7 +235,7 @@ jobs: JOBS: ${{ github.ref == 'refs/heads/main' && vars.NR_RUNNER && 16 || 4 }} codecov: - needs: [unit, integration, versioned-internal] + needs: [unit, integration] runs-on: ubuntu-latest strategy: @@ -258,13 +258,6 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} directory: integration-tests-${{ matrix.node-version }} flags: integration-tests-${{ matrix.node-version }} - - name: Post Versioned Test Coverage - uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c - with: - token: ${{ secrets.CODECOV_TOKEN }} - directory: versioned-tests-${{ matrix.node-version }} - flags: versioned-tests-${{ matrix.node-version }} - all-clear: if: always() runs-on: ubuntu-latest diff --git a/test/unit/adaptive-sampler.test.js b/test/unit/adaptive-sampler.test.js index 8d50b27304..bf1d93c162 100644 --- a/test/unit/adaptive-sampler.test.js +++ b/test/unit/adaptive-sampler.test.js @@ -18,6 +18,7 @@ tap.test('AdaptiveSampler', (t) => { t.equal(sampler.sampled, 0) t.ok(sampler.shouldSample(0.1234)) t.equal(sampler.sampled, 1) + t.ok(1) t.end() },