Skip to content

Commit

Permalink
Add pytest coverage comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-Tehrani committed Jan 10, 2024
1 parent eeac8f0 commit c826871
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,22 @@ jobs:

steps:
- uses: "actions/checkout@v3"

- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}

- name: Install dependencies for testing
run: |
pip install --upgrade pip
pip install pytest pytest-md pytest-emoji pytest-cov
- name: Install development version
run: |
# Need editable mode in order to include the test files
pip install -e .
- name: Run pytest
uses: pavelzw/pytest-action@v2
with:
Expand Down

0 comments on commit c826871

Please sign in to comment.