Skip to content

update ci.yml to run in multiple python versions #65

update ci.yml to run in multiple python versions

update ci.yml to run in multiple python versions #65

Workflow file for this run

name: ci
on: push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@v1
with:
version: 1.3.2
virtualenvs-create: true
virtualenvs-in-project: true
- name: install prodig
run: poetry install --no-interaction --no-root
- name: run tests
run: >-
poetry run pytest --cov
--cov-report xml:coverage.xml
--cov-append
-vv
--hypothesis-show-statistics
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.xml