From 6550de60a2f34c902ede15e08ed0cdc9eb7c46fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rasmus=20Skytte=20Randl=C3=B8v?= Date: Fri, 18 Oct 2024 11:55:36 +0200 Subject: [PATCH] fix(code-coverage): Add CODECOV_TOKEN to upload step --- .github/workflows/code-coverage.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code-coverage.yaml b/.github/workflows/code-coverage.yaml index 167bcc8..31ec26f 100644 --- a/.github/workflows/code-coverage.yaml +++ b/.github/workflows/code-coverage.yaml @@ -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 @@ -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 @@ -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 @@ -303,7 +300,6 @@ jobs: BACKEND_DRV: odbc::odbc BACKEND_ARGS: '' GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} CONN_ARGS_JSON: > { @@ -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