Skip to content

release: Version 0.8.2 #235

release: Version 0.8.2

release: Version 0.8.2 #235

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
workflow_dispatch:
schedule:
- cron: '0 9 * * 5' # 18:00 on Friday JST
env:
TASK_X_REMOTE_TASKFILES: 1
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: aquaproj/aqua-installer@ea518c135a02fc11ff8024364510c181a5c6b342 # v4.0.3
with:
aqua_version: v2.51.2
- name: Setup workspace
run: |
task --yes setup
- name: 'Run linters'
run: |
lefthook run pre-commit --all-files
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
workspace: ['locked', 'latest']
steps:
- uses: actions/checkout@v5
- uses: aquaproj/aqua-installer@ea518c135a02fc11ff8024364510c181a5c6b342 # v4.0.3
with:
aqua_version: v2.51.2
- name: Set up Python ${{ matrix.python-version }}
run: 'echo ${{ matrix.python-version }} > .python-version'
- name: 'Configure env as locked deps by uv.lock'
run: 'uv sync --all-extras --frozen'
if: ${{ matrix.workspace == 'locked'}}
- name: 'Configure env as latest deps on PyPI'
run: 'uv sync --all-extras -U'
if: ${{ matrix.workspace == 'latest'}}
- name: Run tests
run: |
uv run pytest -m "webtest or not webtest"
buildtest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: aquaproj/aqua-installer@ea518c135a02fc11ff8024364510c181a5c6b342 # v4.0.3
with:
aqua_version: v2.51.2
- name: Build
run: |
uv build
ls -l dist
doctest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: aquaproj/aqua-installer@ea518c135a02fc11ff8024364510c181a5c6b342 # v4.0.3
with:
aqua_version: v2.51.2
- name: Run tests
run: |
uv sync --frozen --all-extras
uv run make -C docs apidoc linkcheck dirhtml
demotest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: aquaproj/aqua-installer@ea518c135a02fc11ff8024364510c181a5c6b342 # v4.0.3
with:
aqua_version: v2.51.2
- name: Run tests
run: |
uv sync --frozen --all-extras
uv run mkdocs build -f demo/mkdocs/config.yaml