Skip to content

Commit

Permalink
Update GHA workflows to enforce FIMS installation (#489)
Browse files Browse the repository at this point in the history
* fix: force installation of FIMS

* fix: add PAT to the env var GITHUB_PAT

* fix: force installation of FIMS using intall_local()
  • Loading branch information
Bai-Li-NOAA authored Oct 24, 2023
1 parent e18f15f commit e2e9bc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/get-gtest-codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
Expand All @@ -32,7 +34,7 @@ jobs:
with:
extra-packages: any::remotes
- name: install local version of FIMS
run: remotes::install_local(upgrade = "always")
run: remotes::install_local(upgrade= "always", force = TRUE)
shell: Rscript {0}
- name: setup for gtest
run: FIMS:::setup_gtest()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-googletest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
extra-packages: any::remotes
- name: install local version of FIMS
run: remotes::install_local(upgrade = "always")
run: remotes::install_local(upgrade= "always", force = TRUE)
shell: Rscript {0}
- name: setup for gtest
run: FIMS:::setup_gtest()
Expand Down

0 comments on commit e2e9bc2

Please sign in to comment.