Skip to content

Bump coverage[toml] from 7.6.7 to 7.6.9 #359

Bump coverage[toml] from 7.6.7 to 7.6.9

Bump coverage[toml] from 7.6.7 to 7.6.9 #359

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: psf/black@stable
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
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 dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# The GitHub editor is 127 chars wide
flake8 . --count --max-complexity=10 --max-line-length=127 --statistics
- name: Mypy
run: mypy
- name: Install and run tests with Coverage
run: |
pip install -e .
coverage run -m unittest discover
coverage report -m
coverage xml
- name: Benchmark
run: ./bench.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
flags: unittests