Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

chore(deps): update codecov/codecov-action action to v4 - autoclosed #73

chore(deps): update codecov/codecov-action action to v4 - autoclosed

chore(deps): update codecov/codecov-action action to v4 - autoclosed #73

Workflow file for this run

name: Workflow for Codecov
on: [ push, pull_request ]
jobs:
run:
strategy:
matrix:
python-version: [ '3.8' ]
os: [ 'ubuntu-20.04', 'ubuntu-latest', 'macos-latest' ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}