deps: (deps): bump pydantic from 2.8.2 to 2.10.4 #366
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: Continuous Integration | |
on: | |
pull_request: | |
jobs: | |
quality-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install and configure Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.6.1 | |
in-project: true | |
prefer-active-python: true | |
- name: Install command runner | |
uses: taiki-e/install-action@just | |
- name: Install Python dependencies | |
run: | | |
just poetry-install | |
- name: Run style & code checks | |
run: | | |
just check | |
unit-tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python: [3.9, "3.10", "3.11", "3.12" ] | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python v${{ matrix.python }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install and configure Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.6.1 | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- name: Install command runner | |
uses: taiki-e/install-action@just | |
- name: Install Python dependencies | |
run: | | |
just poetry-install | |
- name: Run unit-tests | |
run: | | |
source $VENV # see https://github.com/snok/install-poetry#running-on-windows | |
just unit-tests |