Skip to content

update tests

update tests #9

Workflow file for this run

name: CI
on:
- push
- pull_request
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Test ${{ matrix.testrun }} -- ${{ github.event_name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
testrun:
- "test1.py"
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r test/requirements.txt
- name: Set up nextflow
uses: nf-core/setup-nextflow@v1.2.0
- name: Run tests
run: pytest test/${{ matrix.testrun }}