Skip to content

Remove legacy CodeClimate action #191

Remove legacy CodeClimate action

Remove legacy CodeClimate action #191

Workflow file for this run

---
name: CI
on:
- push
- pull_request
permissions:
contents: read
id-token: write
env:
DEFAULT_PYTHON: '3.13'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run Pre-Commit
uses: pre-commit/[email protected]
if: ${{ matrix.python-version == env.DEFAULT_PYTHON }}
continue-on-error: true
- name: Install dependencies
run: |
pip install tox tox-gh-actions
- name: Test with tox
run: tox
- name: Submit Coverage to Qlty # New "name" of CodeClimate Quality
uses: qltysh/qlty-action/coverage@v2
if: ${{ matrix.python-version == env.DEFAULT_PYTHON }}
with:
oidc: true
files: '.tox/reports/*/coverage.lcov'
- name: Submit Coverage to CodeCov
uses: codecov/codecov-action@v5
with:
directory: '.tox/reports'