Update actions/checkout action to v7 #343
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Python package | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: "build (${{ matrix.runs_on }}, ${{ matrix.python }}" | |
| runs-on: ${{ matrix.runs_on }} | |
| strategy: | |
| matrix: | |
| runs_on: ['macos-latest', 'macos-15-intel'] | |
| python: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| - "3.14" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Python ${{ matrix.python }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install CI/CD requirements | |
| run: | | |
| pip install -r .ci/cicd-requirements.txt | |
| - name: Install project | |
| run: | | |
| pip install -e . | |
| - name: Test with pytest | |
| run: | | |
| make test_lib | |
| python -m pytest tests -v |