Skip to content

Bump coverage[toml] from 7.6.0 to 7.6.1 in the python-packages group #137

Bump coverage[toml] from 7.6.0 to 7.6.1 in the python-packages group

Bump coverage[toml] from 7.6.0 to 7.6.1 in the python-packages group #137

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip hatch
- name: Check lint
run: |
hatch fmt -l --check
- name: Run unit tests
run: |
hatch test --cover -py=${{ matrix.python-version }}
- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.python-version }}
path: coverage.xml
coverage:
runs-on: ${{ matrix.os }}
needs: [run]
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Download all coverage artifacts
uses: actions/download-artifact@v4
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
flags: full-suite