Skip to content

release: Bump version 0.1.1 -> 0.1.2 #47

release: Bump version 0.1.1 -> 0.1.2

release: Bump version 0.1.1 -> 0.1.2 #47

Workflow file for this run

name: Continuous Integration
on:
push:
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- name: 'Configure dependencies'
run: |
uv sync --frozen --all-extras
- name: Lint by pre-commit
run: |
uvx pre-commit run --all-files
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
workspace: ['locked', 'latest']
exclude:
# It is failure to build lxml 4.x
- python-version: '3.13'
workspace: 'locked'
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- name: 'Set python-version'
run: |
echo ${{ matrix.python-version }} > .python-version
- name: 'Configure env as locked deps by uv.lock'
run: |
uv sync --frozen --all-extras --python='${{ steps.setup-python.outputs.python-path }}'
if: ${{ matrix.workspace == 'locked'}}
- name: 'Configure env as latest deps on PyPI'
run: |
uv sync -U --all-extras --python='${{ steps.setup-python.outputs.python-path }}'
if: ${{ matrix.workspace == 'latest'}}
- name: 'Run tests'
run: |
uv run pytest
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- name: 'Configure dependencies'
run: |
uv sync --frozen --all-extras
- name: Run check
run: |
uv run make -C docs linkcheck