Skip to content

ci: re-use tasks from dodo.py for running linters/tests in GitHub CI #71

ci: re-use tasks from dodo.py for running linters/tests in GitHub CI

ci: re-use tasks from dodo.py for running linters/tests in GitHub CI #71

Workflow file for this run

name: build
on: [push]
env:
SRC_DIRS: "contextvars_registry tests docs"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.12' ]
name: run tests on Python v${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
uses: abatilo/actions-poetry@v2
- name: Install Python packages
run: |
poetry install --no-root
- name: lint
run: |
poetry run doit lint
- name: test
run: |
poetry run doit test