Skip to content

Apply linting, add missing type hints #144

Apply linting, add missing type hints

Apply linting, add missing type hints #144

Workflow file for this run

name: Python
on: [push, pull_request]
jobs:
Pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip pytest pytest-mock pytest-cov
pip install -e .
./install_git-cinnabar.sh
echo "${{ github.workspace }}" >> $GITHUB_PATH
- name: Test with pytest
run: |
pytest --junitxml=pytest.xml --cov-report "xml:coverage.xml" --cov=git_hg_sync tests/
- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-xml-coverage-path: coverage.xml
title: Unit tests Coverage
badge-title: Unit tests Coverage
junitxml-path: pytest.xml
junitxml-title: JUnit Xml Summary