Skip to content

build: Auto generate release body #86

build: Auto generate release body

build: Auto generate release body #86

Workflow file for this run

name: Continuous Integration
on:
push:
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
architecture: x64
python-version: '3.10'
- name: Lint by pre-commit
run: |
pipx install pre-commit
pre-commit run --all-files
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
architecture: x64
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install '.[test]'
- name: Run tests
run: |
pytest
pytest -m webtest
buildtest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
architecture: x64
python-version: '3.10'
- name: Build
run: |
pipx install flit
flit build
ls -l dist
doctest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
architecture: x64
python-version: '3.10'
- name: Install dependencies
run: |
pip install '.[doc]'
- name: Run tests
run: |
make -C docs apidoc linkcheck dirhtml