Skip to content

Merge pull request #287 from denpamusic/dependabot/pip/pytest-9.0.2 #2310

Merge pull request #287 from denpamusic/dependabot/pip/pytest-9.0.2

Merge pull request #287 from denpamusic/dependabot/pip/pytest-9.0.2 #2310

Workflow file for this run

---
name: ci
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Fetch tags
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions coverage==7.3.2
- name: Test with tox
run: tox
- if: github.event_name == 'push'
name: Generate coverage report
run: |
coverage lcov
- if: github.event_name == 'push'
uses: qltysh/qlty-action/coverage@v1
with:
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
files: coverage.lcov