Skip to content

test: create tests#1

Merged
kelly-sovacool merged 2 commits into
mainfrom
dev-sovacool
Feb 9, 2026
Merged

test: create tests#1
kelly-sovacool merged 2 commits into
mainfrom
dev-sovacool

Conversation

@kelly-sovacool
Copy link
Copy Markdown
Member

@kelly-sovacool kelly-sovacool commented Feb 9, 2026

Changes

Issues

PR Checklist

(Strikethrough any points that are not applicable.)

  • This comment contains a description of changes with justifications, with any relevant issues linked.
  • Run the capsule in Code Ocean and ensure it completes successfully with no errors.
  • Update CHANGELOG.md with a short description of any user-facing changes and reference the PR number. Follow the style described in https://style.tidyverse.org/news.html
  • The tests workflow succeeds on the latest commit.

Comment on lines +11 to +29
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: Parse environment.json and set Docker image
id: docker_image
run: |
IMAGE=$(jq -r '.base_image' .codeocean/environment.json)
IMAGE=${IMAGE//codeocean/nciccbr}
echo "image=$IMAGE" >> $GITHUB_OUTPUT
echo "Using Docker image: $IMAGE"

- name: Run tests in Docker
run: |
docker run --rm \
-v ${{ github.workspace }}:/workspace \
-w /workspace \
${{ steps.docker_image.outputs.image }} \
Rscript tests/testthat.R

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium test

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
@kelly-sovacool kelly-sovacool merged commit 14919f4 into main Feb 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants