Skip to content

Completed "Improve documentation" task in Roadmap #33

Completed "Improve documentation" task in Roadmap

Completed "Improve documentation" task in Roadmap #33

Workflow file for this run

name: Hatch
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: |
3.8
3.9
3.10
3.11
3.12
- name: Set up pip cache
if: runner.os == 'Linux'
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: ${{ runner.os }}-pip-
- name: Install Hatch
run: pipx install hatch
- name: Lint
run: hatch run lint:all
- name: Run tests
run: hatch run test:all
# - name: Build dist
# run: hatch build
# - name: Publish on PyPI
# if: github.ref == 'refs/heads/main'
# run: hatch publish