Skip to content

Update pythonpackage.yml #1152

Update pythonpackage.yml

Update pythonpackage.yml #1152

Workflow file for this run

name: coveralls
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 6
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1 # no history, just HEAD
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
- name: Run tests and collect coverage
run: |
python -m pip install pytest coverage
coverage run -m pytest