Bump actions/setup-python from 5 to 6 #274
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: [pull_request, push, workflow_dispatch] | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - uses: actions/setup-python@v6 | |
| - uses: pre-commit/[email protected] | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - name: Checkout source | |
| uses: actions/[email protected] | |
| - name: Setup conda environment | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| miniconda-version: "latest" | |
| python-version: ${{ matrix.python-version }} | |
| environment-file: ci/environment-${{ matrix.python-version }}.yml | |
| activate-environment: access-vis-test | |
| auto-activate-base: false | |
| - name: Install source | |
| shell: bash -l {0} | |
| run: python -m pip install -e . | |
| - name: List installed packages | |
| shell: bash -l {0} | |
| run: conda list | |
| - name: Run tests | |
| shell: bash -l {0} | |
| env: | |
| LV_CONTEXT: moderngl | |
| LV_ECHO_FAIL: 1 | |
| LV_ARGS: -v | |
| run: python -m pytest -s . | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.codecov_token }} | |
| files: ./coverage.xml |