Bump actions/upload-artifact from 5 to 6 #483
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: Testing | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| python-version: ["3.9", "3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install via pip | |
| run: | | |
| python -m pip install --upgrade pip wheel setuptools | |
| python -m pip install numpy pytest pytest-cov | |
| python -m pip install -e . | |
| - name: Unit tests | |
| run: | | |
| pytest -vv pspipe_utils --cov=pspipe_utils --cov-report=xml:coverage.xml | |
| - name: Report Coverage (codecov) | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: codecov/codecov-action@v5 |