@@ -346,72 +346,3 @@ jobs:
346346 - uses : ./.github/workflows/check
347347 with :
348348 results : ${{ matrix.package }}
349-
350- # FIXME: integrate with dynamic matrix creation
351- validate :
352- needs :
353- - rcc-smoke
354-
355- runs-on : ${{ matrix.config.os }}${{ matrix.config.os-version }}
356-
357- name : ${{ matrix.config.os }}${{ matrix.config.os-version }} (${{ matrix.config.r }}) ${{ matrix.config.desc }}
358-
359- # Begin custom: services
360- # End custom: services
361-
362- strategy :
363- fail-fast : false
364- matrix :
365- config :
366- - { os: ubuntu-, os-version: 22.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" }
367-
368- env :
369- R_REMOTES_NO_ERRORS_FROM_WARNINGS : true
370- RSPM : ${{ matrix.config.rspm }}
371- GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
372- # prevent rgl issues because no X11 display is available
373- RGL_USE_NULL : true
374- # Begin custom: env vars
375- # End custom: env vars
376-
377- steps :
378- - uses : actions/checkout@v4
379-
380- - uses : ./.github/workflows/custom/before-install
381- if : hashFiles('.github/workflows/custom/before-install/action.yml') != ''
382-
383- - uses : ./.github/workflows/install
384- with :
385- token : ${{ secrets.GITHUB_TOKEN }}
386- install-r : false
387- cache-version : rcc-smoke-1
388- needs : check
389- extra-packages : any::rcmdcheck any::roxygen2 r-lib/styler
390-
391- - uses : ./.github/workflows/custom/after-install
392- if : hashFiles('.github/workflows/custom/after-install/action.yml') != ''
393-
394- - name : Instrument R code for validation
395- run : |
396- if [ $(git status --porcelain | wc -l) -gt 0 ]; then
397- echo "Fatal: git working copy not clean"
398- fi
399- sed -i -r '/INSTRUMENT: validate/ s/^( +)# /\1/g' R/*
400- if [ $(git status --porcelain | wc -l) -eq 0 ]; then
401- echo "Fatal: substitution did not change anything"
402- fi
403-
404- - name : Run tests
405- run : |
406- testthat::test_local(reporter = testthat::ProgressReporter$new(max_failures = Inf, update_interval = Inf))
407- shell : Rscript {0}
408-
409- - name : Show test output
410- if : always()
411- run : |
412- find check -name '*.Rout*' -exec head -n 1000000 '{}' \; || true
413- shell : bash
414-
415- - name : Test coverage
416- run : covr::codecov()
417- shell : Rscript {0}
0 commit comments