Skip to content

more work on workflow #15

more work on workflow

more work on workflow #15

Workflow file for this run

name: Python tests
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- os: macos-latest

Check failure on line 13 in .github/workflows/tests-python.yml

View workflow run for this annotation

GitHub Actions / Python tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests-python.yml (Line: 13, Col: 13): Matrix exclude key 'os' does not match any key within the matrix
python-version: "3.7"
runs-on: ${{ matrix.platform }}
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: |
python -m pip install --upgrade pip setuptools wheel
pip install -e .[test]
- name: Fetch test files
run: |
test/fetch_examples.sh
- name: Test with pytest
run: |
pytest -v