From 3e632d2fe3cf5eb0cf53fbb46496e3d4568ef97c Mon Sep 17 00:00:00 2001 From: mattpagg Date: Wed, 9 Oct 2024 12:26:12 +0200 Subject: [PATCH 1/3] configure codecov action to use token secret --- .github/workflows/analysis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 36d51a5a06..1d3906d6a6 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -53,6 +53,7 @@ jobs: uses: actions/checkout@v4 with: sparse-checkout: .github/actions + token: ${{ secrets.CODECOV_TOKEN }} - name: "Install dependencies and checkout repo in ns-3" uses: ./.github/actions/install-analysis - name: "Build ns-3" From 1b5ea23f2853b91414b5ee0fdf97f2555f16803b Mon Sep 17 00:00:00 2001 From: mattpagg Date: Wed, 9 Oct 2024 12:43:08 +0200 Subject: [PATCH 2/3] df --- .github/workflows/analysis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 1d3906d6a6..f6b850593f 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -53,7 +53,6 @@ jobs: uses: actions/checkout@v4 with: sparse-checkout: .github/actions - token: ${{ secrets.CODECOV_TOKEN }} - name: "Install dependencies and checkout repo in ns-3" uses: ./.github/actions/install-analysis - name: "Build ns-3" @@ -72,3 +71,5 @@ jobs: run: | ./ns3 build coverage_gcc bash <(curl -s https://codecov.io/bash) -f build/coverage/ns3.info -R src/lorawan/ || echo "Codecov did not collect coverage reports" + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From c627e483e918ece952c3c5da978b78b03c78fa82 Mon Sep 17 00:00:00 2001 From: mattpagg Date: Wed, 9 Oct 2024 12:59:44 +0200 Subject: [PATCH 3/3] remove trailing whitespaces --- .github/workflows/analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index f6b850593f..51c8c78a03 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -71,5 +71,5 @@ jobs: run: | ./ns3 build coverage_gcc bash <(curl -s https://codecov.io/bash) -f build/coverage/ns3.info -R src/lorawan/ || echo "Codecov did not collect coverage reports" - env: + env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}