Skip to content

updated .gitignore, improved test coverage (#1) #5

updated .gitignore, improved test coverage (#1)

updated .gitignore, improved test coverage (#1) #5

Workflow file for this run

name: pVACcompare tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install coverage
- name: Change working directory and run tests with coverage
run: |
cd pvaccompare
coverage run -m unittest discover tests/
- name: Generate coverage report
run: |
cd pvaccompare
coverage report