Merge pull request #157 from argyle-engineering/dependabot/pip/pytest… #291
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: QA checks | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
pydantic_versions: ["< 2", ">= 2"] | |
task: | |
- check_types | |
- check_fmt | |
- test | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.10" | |
- uses: Gr1N/setup-poetry@v9 | |
with: | |
poetry-version: "1.8.4" | |
- name: Install dependencies | |
run: | | |
poetry install | |
poetry run pip install "pydantic ${{ matrix['pydantic_versions'] }}" | |
- name: QA | |
run: poetry run task ${{ matrix['task'] }} |