Skip to content

Bump codecov/codecov-action from 4.5.0 to 5.0.6 #201

Bump codecov/codecov-action from 4.5.0 to 5.0.6

Bump codecov/codecov-action from 4.5.0 to 5.0.6 #201

Workflow file for this run

name: Tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
name: Check Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: pip install --upgrade pip
- name: Install package
run: python -m pip install -e .[test]
- name: Test package
run: python -m pytest
codecov:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
name: Check Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: pip install --upgrade pip
- name: Install package
run: python -m pip install -e .[test]
- name: Generate Report
run: |
pip install coverage
coverage run -m pytest
- name: Upload Coverage to Codecov
uses: codecov/[email protected]