Skip to content

Merge pull request #19 from taskbadger/sk/update-schema #67

Merge pull request #19 from taskbadger/sk/update-schema

Merge pull request #19 from taskbadger/sk/update-schema #67

Workflow file for this run

name: Run Tests
on:
pull_request:
push:
branches:
- main
jobs:
python-tests:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version:
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: Gr1N/setup-poetry@v8
- uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- name: Checks
run: |
poetry --version
poetry check --no-interaction
- name: Install project
run: poetry install --no-interaction
- name: Run tests
run: poetry run pytest -v