Skip to content

Commit

Permalink
ci: Opening PR to test codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
bizob2828 committed Aug 19, 2024
1 parent c0a5e64 commit 5d3e4e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -247,7 +247,7 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Post Unit Test Coverage
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: unit-tests-${{ matrix.node-version }}
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions test/unit/adaptive-sampler.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
},

Expand Down

0 comments on commit 5d3e4e7

Please sign in to comment.