Skip to content

✨ Apply ruff lint and formating on src #119

✨ Apply ruff lint and formating on src

✨ Apply ruff lint and formating on src #119

name: Python coverage
on: ["push"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: '3.10'
- name: Install dependencies
run: |
git submodule update --init --recursive
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Build coverage using pytest-cov
run: |
pytest --cov=src --cov-report=xml tests
- name: Codacy Coverage Reporter
uses: codacy/[email protected]
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.xml