Skip to content

docs: update to match API changes and cleanup #32

docs: update to match API changes and cleanup

docs: update to match API changes and cleanup #32

Workflow file for this run

name: CI
on:
- push
- workflow_call
jobs:
build:
name: Build distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: 3.11
cache: true
- name: Install dependencies
run: pdm install -G test
- name: Test with pytest
run: pdm run pytest --junitxml=junit/test-results.xml --cov-report=xml --cov-report=html
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
flags: build
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Build a binary wheel and a source tarball
run: pdm build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
name: python-package-distributions
path: dist/