Skip to content

Use look-up-table and threading for major speed improvements #3

Use look-up-table and threading for major speed improvements

Use look-up-table and threading for major speed improvements #3

Workflow file for this run

name: pytest-coverage-comment
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
if [ -f requirements_dev.txt ]; then pip3 install -r requirements_dev.txt; fi
- name: Build coverage file
run: |
pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered | tee pytest-coverage.txt
- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml