Skip to content

Use older Ubuntu to test with Python 3.7 #50

Use older Ubuntu to test with Python 3.7

Use older Ubuntu to test with Python 3.7 #50

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04]
python-version: ["3.10", "3.11", "3.12", "3.13"]
include:
- os: ubuntu-22.04
python-version: '3.7'
runs-on: ${{ matrix.os }}
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 pytest-cov
- name: Test
run: |
pytest --cov=. --cov-branch --cov-report=term --cov-report=xml -v test/test*.py
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}