Skip to content

TST: Fix macos-latest and Python 3.7 test error #22

TST: Fix macos-latest and Python 3.7 test error

TST: Fix macos-latest and Python 3.7 test error #22

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
name: Tests
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-latest
- macos-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 23 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 23, Col: 13): Matrix exclude key 'os' does not match any key within the matrix
python-version: '3.7'
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install '.[test]'
- run: pytest -v --pyargs healpix