Bump actions/download-artifact from 4 to 5 #59
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
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| name: Tests | |
| env: | |
| FORCE_COLOR: 3 | |
| jobs: | |
| tests: | |
| name: ${{ matrix.os }} py${{ matrix.python-version }} | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| shell: bash -leo pipefail {0} {0} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install xproj | |
| run: | | |
| python -m pip install -e .[test] | |
| # TODO: remove in next xarray release (https://github.com/pydata/xarray/pull/10413) | |
| python -m pip install typing_extensions | |
| python -m pip install pytest-cov | |
| - name: Run tests | |
| run: | | |
| python -m pytest --cov=xproj | |
| - name: Upload coverage report | |
| uses: codecov/codecov-action@v5 |