Skip to content

Expand Python support from 3.10-only to 3.9-3.12 #2

Expand Python support from 3.10-only to 3.9-3.12

Expand Python support from 3.10-only to 3.9-3.12 #2

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install coverage
- name: Run tests with coverage
run: |
coverage run --source=valideer setup.py test
coverage report -m > coverage.txt # Save the report to a file
cat coverage.txt # Display the report in the log