Switch for Lineage field queried on CovSpectrum #67
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: Tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10.10' | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Build package | |
run: | | |
poetry install | |
poetry build | |
- name: Test package | |
env: | |
COVSPECTRUM_ACCESSKEY: ${{ secrets.COVSPECTRUM_ACCESSKEY }} | |
run: poetry run pytest -v | |
- name: Lint package | |
run: poetry run black --check --diff . |