chore: bump version #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: qc | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '*.py' | |
- '**.py' | |
jobs: | |
analyse: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install devbox | |
uses: jetpack-io/[email protected] | |
- name: install dependencies | |
run: devbox run poetry install | |
- name: build wheel | |
id: build | |
run: devbox run poetry build | |
- name: analyse with mypy | |
run: devbox run poetry run mypy . | |
- name: check for black formatting compliance | |
run: devbox run poetry run black --check . | |
- name: analyse isort compliance | |
run: devbox run poetry run isort --check *.py **/*.py | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install devbox | |
uses: jetpack-io/[email protected] | |
# - name: install dependencies | |
# run: devbox run poetry install | |
- name: use lowest pydantic and tomlkit versions | |
run: | | |
devbox run poetry run python use_lowest_versions.py | |
devbox run poetry lock | |
devbox run poetry install | |
- name: run tests | |
run: devbox run poetry run python test.py |