Skip to content

Commit

Permalink
i #284 Version that was passing check
Browse files Browse the repository at this point in the history
  • Loading branch information
daomcgill committed Nov 13, 2024
1 parent 99823d7 commit 6cd5e11
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/R-CMD-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: macOS-13
strategy:
matrix:
r-version: ['4.2']
r-version: ['4.4']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -67,9 +67,10 @@ jobs:
run: |
brew tap homebrew/core
brew install --HEAD universal-ctags
utags_head=$(ls /usr/local/Cellar/universal-ctags | tail -n 1)
sed -i -e "s|utags: \/usr\/local\/Cellar\/universal-ctags\/HEAD-62f0144\/bin\/ctags|utags: \/usr\/local\/Cellar\/universal-ctags\/${utags_head}\/bin\/ctags|g" tools.yml
sed -i -e "s|utags: \/usr\/local\/Cellar\/universal-ctags\/HEAD-62f0144\/bin\/ctags|utags: \/usr\/local\/Cellar\/universal-ctags\/${utags_head}\/bin\/ctags|g" tests/testthat/testdata/tools.yml
brew_prefix=$(brew --prefix)
utags_head=$(ls $brew_prefix/Cellar/universal-ctags | tail -n 1)
sed -i -e "s|utags: .*|utags: $brew_prefix/Cellar/universal-ctags/${utags_head}/bin/ctags|g" tools.yml
sed -i -e "s|utags: .*|utags: $brew_prefix/Cellar/universal-ctags/${utags_head}/bin/ctags|g" tests/testthat/testdata/tools.yml
shell: bash

- name: Check
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: macOS-13
strategy:
matrix:
r-version: ['4.2']
r-version: ['4.4']
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
Expand Down Expand Up @@ -59,9 +59,10 @@ jobs:
run: |
brew tap homebrew/core
brew install --HEAD universal-ctags
utags_head=$(ls /usr/local/Cellar/universal-ctags | tail -n 1)
sed -i -e "s|utags: \/usr\/local\/Cellar\/universal-ctags\/HEAD-62f0144\/bin\/ctags|utags: \/usr\/local\/Cellar\/universal-ctags\/${utags_head}\/bin\/ctags|g" tools.yml
sed -i -e "s|utags: \/usr\/local\/Cellar\/universal-ctags\/HEAD-62f0144\/bin\/ctags|utags: \/usr\/local\/Cellar\/universal-ctags\/${utags_head}\/bin\/ctags|g" tests/testthat/testdata/tools.yml
brew_prefix=$(brew --prefix)
utags_head=$(ls $brew_prefix/Cellar/universal-ctags | tail -n 1)
sed -i -e "s|utags: .*|utags: $brew_prefix/Cellar/universal-ctags/${utags_head}/bin/ctags|g" tools.yml
sed -i -e "s|utags: .*|utags: $brew_prefix/Cellar/universal-ctags/${utags_head}/bin/ctags|g" tests/testthat/testdata/tools.yml
shell: bash

- name: Test coverage
Expand Down
2 changes: 1 addition & 1 deletion man/commit_message_id_coverage.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6cd5e11

Please sign in to comment.