alignment testdata and bugfix #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Preprimer | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install -e . # install the preprimer package | |
pip install -r requirements.txt # Ensure pytest is listed here | |
- name: Set up conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: '3.12' # Replace with your Python version | |
- name: Install mamba | |
run: | | |
conda config --add channels bioconda | |
conda config --add channels conda-forge | |
conda install mamba -n base -c conda-forge | |
mamba init | |
# - name: Create conda environment | |
# run: | | |
# mamba create -n preprimer | |
# conda activate preprimer | |
- name: Install dependencies with channels | |
run: | | |
mamba create -n preprimer me-pcr exonerate # Install me-PCR and exonerate | |
mamba activate preprimer | |
- name: Run tests | |
run: | | |
python -m pytest tests/test_convert.py |