During reference proteome similarity step, handle cases where a variant's full peptide sequence is not in the fasta file #655
Workflow file for this run
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: pVACtools tests | |
on: | |
push: | |
branches: [ master, staging, hotfix ] | |
pull_request: | |
types: [opened, synchronize, edited, reopened] | |
branches: [ master, staging, hotfix] | |
jobs: | |
run_tests: | |
name: "Test pVACtools in various Python versions" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install system dependencies | |
run: | | |
sudo apt-get -qq update | |
sudo apt-get install -y ghostscript | |
sudo apt-get install -y gcc | |
sudo apt-get install -y pandoc | |
pip install pypandoc==1.7.2 | |
pip install coverage | |
pip install coveralls | |
- name: Install Python dependencies | |
run: | | |
pip install polars==0.16.18 | |
pip install pypandoc==1.7.2 | |
pip install -e . | |
mhcflurry-downloads fetch | |
- name: List installed packages | |
run: | | |
pip list | |
- name: Run tests | |
env: | |
TEST_FLAG: 1 | |
run: coverage run --source=pvactools.lib,pvactools.tools -m unittest discover -v -s tests | |
- name: Coveralls | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: coveralls --service=github |