Skip to content

Commit a53454f

Browse files
authored
Fix CODECOV_TOKEN and improve dependency installation
Updated CODECOV_TOKEN reference and adjusted installation commands for BiocManager and phyloseq.
1 parent af60a72 commit a53454f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/test-coverage.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: macOS-latest
1414
env:
1515
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
16-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN_tinyvamp }}
16+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1717
steps:
1818
- uses: actions/checkout@v3
1919

@@ -38,17 +38,12 @@ jobs:
3838
- name: Install dependencies
3939
run: |
4040
install.packages(c("remotes"))
41-
if (!requireNamespace("BiocManager", quietly = TRUE)){install.packages("BiocManager")}; BiocManager::install(c("phyloseq"), ask = FALSE)
41+
if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")
42+
BiocManager::install("phyloseq", ask = FALSE)
4243
remotes::install_deps(dependencies = TRUE)
4344
remotes::install_cran("covr")
4445
shell: Rscript {0}
4546

4647
- name: Test coverage
4748
run: covr::codecov()
4849
shell: Rscript {0}
49-
50-
- name: Upload coverage reports to Codecov
51-
uses: codecov/codecov-action@v5
52-
with:
53-
token: ${{ secrets.CODECOV_TOKEN }}
54-
slug: statdivlab/tinyvamp

0 commit comments

Comments
 (0)