Skip to content

Fix FASTG spec link; fix CI; small style fixes #69

Fix FASTG spec link; fix CI; small style fixes

Fix FASTG spec link; fix CI; small style fixes #69

Workflow file for this run

# From
# https://github.com/fedarko/strainFlye/blob/main/.github/workflows/main.yml
name: pyfastg CI
on: [push, pull_request]
jobs:
build:
# Stopgap solution -- "ubuntu-latest" (22.04, as of writing) no longer
# supports Python 3.6. See https://github.com/fedarko/pyfastg/issues/10.
runs-on: ubuntu-20.04
strategy:
matrix:
# Gotta specify 3.10 as a string to avoid it being converted to 3.1:
# https://github.com/actions/setup-python/issues/160
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
steps:
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
- name: Check out code
uses: actions/checkout@v3
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install pyfastg (and its pip dependencies)
run: pip install -e .[dev]
- name: Run tests
run: make test
- name: Lint and stylecheck
run: make stylecheck
- name: Upload code coverage information to Codecov
uses: codecov/codecov-action@v2