Fix README and some docs #22
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: check | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: | | |
3.10 | |
3.11 | |
- name: Install build tools | |
run: | | |
python -m pip install hatch | |
- name: Run test suites, type checks, and linters | |
run: | | |
hatch run all:check | |
env: | |
PYTEST_ADDOPTS: ${{ runner.os != 'Linux' && '--no-cov' || '' }} |