Skip to content

fix test workflow

fix test workflow #7

Workflow file for this run

name: test-chrombinarize
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up R
uses: r-lib/actions/setup-r@v2
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
working-directory: chrombinarize

Check failure on line 25 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test-chrombinarize

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 25, Col: 9): Unexpected value 'working-directory'
- name: Run tests
run: |
library(testthat)
library(chrombinarize)
test_dir("tests/testthat")
working-directory: chrombinarize