Skip to content

unit-tests

unit-tests #44

Workflow file for this run

name: clubcpg-tests
run-name: unit-tests
on:
push:
tags-ignore:
- "**"
branches:
- "**"
pull_request:
workflow_call:
jobs:
tests:
strategy:
matrix:
python-version: ['3.9', '3.10']
os: ['ubuntu-22.04', 'ubuntu-20.04']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: bash ubuntu-preinstall.sh
- run: bash install-samtools.sh
- run: pip install poetry
- run: poetry lock --no-update # This will make sure its updated for the testing python version
- run: poetry install
- run: poetry run python3 -m unittest -v clubcpg/tests/test_Module.py