ESS-3438 Update to support Python from 3 .11 to 3.13 #602
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| CI: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install black isort tox | |
| - name: Style check with isort and black | |
| run: | | |
| python -m isort --check . --profile black | |
| python -m black --check . | |
| - name: Run tests with tox | |
| run: tox -e py | |
| - name: Test doc build with tox | |
| run: tox -e docs | |
| if: ${{ (matrix.python-version == '3.12') && (matrix.os == 'ubuntu-latest')}} |