Skip to content

[github-actions] Bump MishaKav/pytest-coverage-comment from 1.1.52 to 1.1.53 in /.github/workflows #57

[github-actions] Bump MishaKav/pytest-coverage-comment from 1.1.52 to 1.1.53 in /.github/workflows

[github-actions] Bump MishaKav/pytest-coverage-comment from 1.1.52 to 1.1.53 in /.github/workflows #57

Workflow file for this run

name: Tests
on: [pull_request]
permissions:
contents: read
pull-requests: write
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest"]
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
if: steps.cache-venv.outputs.cache-hit != 'true'
run: pip install ".[test]"
- name: Test with pytest
run: python -m pytest --junitxml=pytest.xml --cov=merkle_zeppelin | tee pytest-result.txt
- name: Make comment with test coverage
uses: MishaKav/[email protected]
if: github.event_name != 'dependabot[bot]'
with:
pytest-coverage-path: ./pytest-result.txt
junitxml-path: ./pytest.xml