Skip to content

use qlty I guess

use qlty I guess #6

Workflow file for this run

---
name: static-analysis
on: push
jobs:
static-analysis:
name: Static Analysis
runs-on: ubuntu-latest
container: python:3.12
steps:
- uses: actions/checkout@v4
- name: install prerequisites
run: |
pip install .[check] .[test] black pylint
- name: run black
run: |
black --check --diff .
- name: run pylint
run: |
pylint --fail-under 10 src
pylint --fail-under 10 --disable=protected-access tests
- name: run tests
run: |
pytest . --cov-report lcov
- uses: qltysh/qlty-action/coverage@main
with:
coverage-token: {{secrets.QLTY_COVERAGE_TOKEN}}

Check failure on line 26 in .github/workflows/checks.yaml

View workflow run for this annotation

GitHub Actions / static-analysis

Invalid workflow file

The workflow is not valid. .github/workflows/checks.yaml (Line: 26, Col: 27): A mapping was not expected
files: coverage.lcov