Skip to content

Commit

Permalink
fix(code-coverage): Add CODECOV_TOKEN to upload step
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Oct 18, 2024
1 parent 7e926da commit 6550de6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/code-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
BACKEND_DRV: RSQLite::SQLite
BACKEND_ARGS: ${{ matrix.config.args }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -117,7 +116,6 @@ jobs:
BACKEND_DRV: duckdb::duckdb
BACKEND_ARGS: 'list(dbdir = file.path(tempdir(), "DuckDB.duckdb"))'
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -204,7 +202,6 @@ jobs:
BACKEND_DRV: RPostgres::Postgres
BACKEND_ARGS: ''
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

PGHOST: localhost
PGPORT: 5432
Expand Down Expand Up @@ -303,7 +300,6 @@ jobs:
BACKEND_DRV: odbc::odbc
BACKEND_ARGS: ''
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

CONN_ARGS_JSON: >
{
Expand Down Expand Up @@ -408,6 +404,10 @@ jobs:
name: "🧪 Tests: Upload to codecov.io"
needs: [code-coverage-sqlite, code-coverage-duckdb, code-coverage-postgres, code-coverage-mssql]
runs-on: ubuntu-latest

env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 6550de6

Please sign in to comment.