From 30645310b08b1c231af61f1dfbe3bee2dd1f1a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sun, 8 Oct 2023 16:04:17 +0200 Subject: [PATCH] Remove validation workflow --- .github/workflows/R-CMD-check.yaml | 69 ------------------------------ 1 file changed, 69 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index dfe2dc8a2..921c120d5 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -346,72 +346,3 @@ jobs: - uses: ./.github/workflows/check with: results: ${{ matrix.package }} - - # FIXME: integrate with dynamic matrix creation - validate: - needs: - - rcc-smoke - - runs-on: ${{ matrix.config.os }}${{ matrix.config.os-version }} - - name: ${{ matrix.config.os }}${{ matrix.config.os-version }} (${{ matrix.config.r }}) ${{ matrix.config.desc }} - - # Begin custom: services - # End custom: services - - strategy: - fail-fast: false - matrix: - config: - - { os: ubuntu-, os-version: 22.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" } - - env: - R_REMOTES_NO_ERRORS_FROM_WARNINGS: true - RSPM: ${{ matrix.config.rspm }} - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - # prevent rgl issues because no X11 display is available - RGL_USE_NULL: true - # Begin custom: env vars - # End custom: env vars - - steps: - - uses: actions/checkout@v4 - - - uses: ./.github/workflows/custom/before-install - if: hashFiles('.github/workflows/custom/before-install/action.yml') != '' - - - uses: ./.github/workflows/install - with: - token: ${{ secrets.GITHUB_TOKEN }} - install-r: false - cache-version: rcc-smoke-1 - needs: check - extra-packages: any::rcmdcheck any::roxygen2 r-lib/styler - - - uses: ./.github/workflows/custom/after-install - if: hashFiles('.github/workflows/custom/after-install/action.yml') != '' - - - name: Instrument R code for validation - run: | - if [ $(git status --porcelain | wc -l) -gt 0 ]; then - echo "Fatal: git working copy not clean" - fi - sed -i -r '/INSTRUMENT: validate/ s/^( +)# /\1/g' R/* - if [ $(git status --porcelain | wc -l) -eq 0 ]; then - echo "Fatal: substitution did not change anything" - fi - - - name: Run tests - run: | - testthat::test_local(reporter = testthat::ProgressReporter$new(max_failures = Inf, update_interval = Inf)) - shell: Rscript {0} - - - name: Show test output - if: always() - run: | - find check -name '*.Rout*' -exec head -n 1000000 '{}' \; || true - shell: bash - - - name: Test coverage - run: covr::codecov() - shell: Rscript {0}