Skip to content

WIP: Update_packaging #3

WIP: Update_packaging

WIP: Update_packaging #3

Workflow file for this run

name: Python Tests
on: [pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [macos-latest, ubuntu-latest]
python-version: ["3.8", "3.12"]
steps:
# Checkout the latest commit associated with the PR
- uses: actions/checkout@v4
# Set up Miniforge
- name: Set up Miniforge Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: "latest"
python-version: ${{ matrix.python-version }}
auto-activate-base: true
channels: conda-forge,bioconda
# Install any additional dependencies not included in the pyproject.toml file
- name: Install additional dependencies
shell: bash -l {0}
run: |
conda install -y -c conda-forge -c bioconda bedtools imagemagick libmagic wand
pip install '.[tests]' # Install all dependencies, including test-specific ones
# Run pytest on the specified directory
- name: Run tests
shell: bash -l {0}
run: |
pytest -p no:warnings tests/