Skip to content

Bump codecov/codecov-action from 4 to 5 #428

Bump codecov/codecov-action from 4 to 5

Bump codecov/codecov-action from 4 to 5 #428

Workflow file for this run

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@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install via pip
run: |
python -m pip install --upgrade pip wheel
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