diff --git a/.github/workflows/devel-build.yml b/.github/workflows/devel-build.yml index 43f4a0d..7be3f4d 100644 --- a/.github/workflows/devel-build.yml +++ b/.github/workflows/devel-build.yml @@ -1,13 +1,10 @@ -name: Cardinal CI workflow -run-name: Cardinal CI workflow run +name: Test R-universe on: - push + - pull_request jobs: build: - # TODO confirm the base image we should use. "latest" - # leaves us open to unexpected breakage if there's a - # breaking change in the base image; we should control - # when we update the base. - runs-on: ubuntu-latest - steps: - - run: echo "Running the Cardinal CI workflow. Triggered by ${{ github.event_name }}" + name: R-universe testing + uses: r-universe-org/workflows/.github/workflows/build.yml@v3 + with: + universe: ${{ github.repository_owner }} diff --git a/.github/workflows/r-universe.yml b/.github/workflows/r-universe.yml new file mode 100644 index 0000000..523fbfa --- /dev/null +++ b/.github/workflows/r-universe.yml @@ -0,0 +1,16 @@ +# This workflow is directly ripped off from # the Bioconductor docs: +# https://docs.r-universe.dev/bioconductor/#debugging-the-ci +name: Test R-universe + +on: + push: + pull_request: + +jobs: + build: + name: R-universe testing + uses: r-universe-org/workflows/.github/workflows/build.yml@v3 + with: + universe: bioc +# Trying this out - does omitting the organization skip the BiocCheck task? + # organization: bioconductor # for BiocCheck checks