Bump actions/checkout from 5.0.1 to 6.0.0 #38
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: tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| tests: | |
| strategy: | |
| matrix: | |
| os: [macos-15, ubuntu-24.04, windows-2025] | |
| python-version: ["3.11", "3.12", "3.13"] | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 30 | |
| name: Test on ${{ matrix.os }}-python-${{ matrix.python-version }} | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6.0.0 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6.0.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Crossflow and its testing dependencies | |
| run: pip install -e .[testing] | |
| - name: Run test suite | |
| run: pytest --cov crossflow --cov-report=xml --cov-append . | |
| - name: Coveralls GitHub Action | |
| uses: coverallsapp/github-action@v2.3.7 | |
| with: | |
| flag-name: run-${{ join(matrix.*, '-') }} | |
| parallel: true | |
| format: cobertura | |
| debug: true | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| finish: | |
| needs: tests | |
| if: ${{ always() }} | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Coveralls Finished | |
| uses: coverallsapp/github-action@v2.3.7 | |
| with: | |
| parallel-finished: true | |
| docs: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6.0.0 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6.0.0 | |
| with: | |
| python-version: 3.13 | |
| - name: Install python dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install -e .[docs] | |
| - name: Build docs | |
| run: cd docs && make | |
| pre-commit: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6.0.0 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6.0.0 | |
| with: | |
| python-version: 3.13 | |
| - name: Install python dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install -e .[pre-commit,docs,testing] | |
| - name: Run pre-commit | |
| run: | | |
| pre-commit install | |
| pre-commit run --all-files || ( git status --short ; git diff ; exit 1 ) |