Skip to content

Commit

Permalink
Update CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Benoit authored and Kenneth Benoit committed Apr 9, 2024
1 parent 3efa18f commit 1bc3c50
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
R_KEEP_PKG_SOURCE: yes

steps:

- if: matrix.config.os == 'ubuntu-latest'
run: |
sudo apt update
Expand All @@ -38,8 +38,8 @@ jobs:
run: |
brew update
brew install tbb
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

Expand All @@ -53,16 +53,16 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check

- name: Install remotes
run: |
Rscript -e "install.packages('remotes', repos='https://ftp.belnet.be/mirror/CRAN')"

- name: Install quanteda from Github
run: |
Rscript -e "remotes::install_github('quanteda/quanteda')"
# - name: Install remotes
# run: |
# Rscript -e "install.packages('remotes', repos='https://ftp.belnet.be/mirror/CRAN')"
#
# - name: Install quanteda from Github
# run: |
# Rscript -e "remotes::install_github('quanteda/quanteda')"

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true

upload-snapshots: true
build_args: 'c("—-no-manual","—-compact-vignettes=gs+qpdf")'
6 changes: 3 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -39,12 +39,12 @@ jobs:
if: always()
run: |
## --------------------------------------------------------------------
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package

0 comments on commit 1bc3c50

Please sign in to comment.