docs: add docstrings to public API methods #262
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: Python tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "${{matrix.python-version}}" | |
cache: "pip" | |
- name: Install Hatch | |
run: pip install --user --upgrade hatch | |
- name: Test with pytest | |
run: hatch run cov | |
env: | |
PYTHONDEVMODE: 1 | |
- uses: codecov/codecov-action@v4 | |
with: | |
name: "build-${{ matrix.python-version }}" | |
fail_ci_if_error: true | |
env: | |
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} |