From edc8dbf321f830eedb956866fb03eb4b8ad59cc9 Mon Sep 17 00:00:00 2001 From: FelixErnst Date: Tue, 26 Mar 2024 22:03:09 +0100 Subject: [PATCH] Changed config after default branch rename --- .github/workflows/check-bioc-devel.yml | 14 +++++++------- .github/workflows/check-bioc.yml | 14 +++++++------- README.md | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/check-bioc-devel.yml b/.github/workflows/check-bioc-devel.yml index 039eab4..467f45c 100644 --- a/.github/workflows/check-bioc-devel.yml +++ b/.github/workflows/check-bioc-devel.yml @@ -194,13 +194,13 @@ jobs: shell: Rscript {0} - name: Install covr - if: github.ref == 'refs/heads/master' && env.run_covr == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_covr == 'true' && runner.os == 'Linux' run: | remotes::install_cran("covr") shell: Rscript {0} - name: Install pkgdown - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' run: | remotes::install_cran("pkgdown") shell: Rscript {0} @@ -251,17 +251,17 @@ jobs: shell: Rscript {0} - name: Test coverage - if: github.ref == 'refs/heads/master' && env.run_covr == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_covr == 'true' && runner.os == 'Linux' run: | covr::codecov(coverage = covr::package_coverage(type = "all")) shell: Rscript {0} - name: Install package - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' run: R CMD INSTALL . - name: Build pkgdown site - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) shell: Rscript {0} ## Note that you need to run pkgdown::deploy_to_branch(new_process = FALSE) @@ -270,12 +270,12 @@ jobs: ## makes the git history recognizable by pkgdown. - name: Install deploy dependencies - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' run: | apt-get update && apt-get -y install rsync - name: Deploy pkgdown site to GitHub pages 🚀 - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' uses: JamesIves/github-pages-deploy-action@releases/v4 with: clean: false diff --git a/.github/workflows/check-bioc.yml b/.github/workflows/check-bioc.yml index bcaed30..0f70a65 100644 --- a/.github/workflows/check-bioc.yml +++ b/.github/workflows/check-bioc.yml @@ -194,13 +194,13 @@ jobs: shell: Rscript {0} - name: Install covr - if: github.ref == 'refs/heads/master' && env.run_covr == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_covr == 'true' && runner.os == 'Linux' run: | remotes::install_cran("covr") shell: Rscript {0} - name: Install pkgdown - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' run: | remotes::install_cran("pkgdown") shell: Rscript {0} @@ -251,17 +251,17 @@ jobs: shell: Rscript {0} - name: Test coverage - if: github.ref == 'refs/heads/master' && env.run_covr == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_covr == 'true' && runner.os == 'Linux' run: | covr::codecov(coverage = covr::package_coverage(type = "all")) shell: Rscript {0} - name: Install package - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' run: R CMD INSTALL . - name: Build pkgdown site - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) shell: Rscript {0} ## Note that you need to run pkgdown::deploy_to_branch(new_process = FALSE) @@ -270,12 +270,12 @@ jobs: ## makes the git history recognizable by pkgdown. - name: Install deploy dependencies - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' run: | apt-get update && apt-get -y install rsync - name: Deploy pkgdown site to GitHub pages 🚀 - if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux' uses: JamesIves/github-pages-deploy-action@releases/v4 with: clean: false diff --git a/README.md b/README.md index 22e009a..b980404 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# RNAmodR +# RNAmodR [![R-CMD-check](https://github.com/FelixErnst/RNAmodR/workflows/R-CMD-check-bioc-devel/badge.svg)](https://github.com/FelixErnst/RNAmodR/actions/) [![BioC Build](https://bioconductor.org/shields/build/devel/bioc/RNAmodR.svg)](http://bioconductor.org/checkResults/devel/bioc-LATEST/RNAmodR/) -[![codecov](https://codecov.io/gh/FelixErnst/RNAmodR/branch/master/graph/badge.svg)](https://codecov.io/gh/FelixErnst/RNAmodR) +[![codecov](https://codecov.io/gh/FelixErnst/RNAmodR/branch/devel/graph/badge.svg)](https://codecov.io/gh/FelixErnst/RNAmodR) [![BioC Years](https://bioconductor.org/shields/years-in-bioc/RNAmodR.svg)](https://doi.org/doi:10.18129/B9.bioc.RNAmodR)