Skip to content

Clean up test runtime #240

Clean up test runtime

Clean up test runtime #240

Workflow file for this run

name: Python tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "${{matrix.python-version}}"
cache: "pip"
cache-dependency-path: |
**/*requirements*.txt
- name: Install dependencies
run: |
pip install --upgrade pip setuptools
pip install -Ur requirements-dev.txt
- name: Test with pytest
run: pytest -vv
env:
PYTHONDEVMODE: 1
PYTHONPATH: .
- uses: codecov/codecov-action@v3
with:
name: build-${{ matrix.python-version }}
fail_ci_if_error: true