Skip to content

Test with Python 3.12, latest Actions #30

Test with Python 3.12, latest Actions

Test with Python 3.12, latest Actions #30

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
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 matplotlib scipy flake8
- name: Test
run: |
py.test --cov=. --cov-branch --cov-report=xml -v test
flake8 pyext/src/ --extend-ignore=F821
flake8 test/ --extend-ignore=F841,E402
- uses: codecov/codecov-action@v1