Skip to content

Account for pipeline runs with no measurement pairs file #444

Account for pipeline runs with no measurement pairs file

Account for pipeline runs with no measurement pairs file #444

Workflow file for this run

name: pytest
on: [pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python_version: ['3.8', '3.9']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- uses: Gr1N/setup-poetry@v8
- name: Cache Python dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- name: Install python dependencies
run: poetry install
- name: Run pytests
run: |
poetry run pytest --cov=vasttools -vv