link to docs from pypi #16
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
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: CI | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.x'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
- name: install | |
run: pip3 install --progress-bar off coveralls jinja2 mypy ruff | |
- name: unittest | |
run: coverage run --source pigwig --omit 'pigwig/tests/*' -m unittest -v | |
- name: coveralls | |
uses: coverallsapp/github-action@v2 | |
if: ${{ matrix.python-version == '3.x' }} | |
with: | |
parallel-finished: true | |
- name: ruff | |
run: ruff check --output-format=github pigwig blogwig | |
- uses: tsuyoshicho/action-mypy@v4 | |
with: | |
fail_on_error: true | |
reporter: github-check |