Skip to content

Commit

Permalink
github action tests improvment
Browse files Browse the repository at this point in the history
  • Loading branch information
akcelero committed Nov 20, 2023
1 parent e02460c commit 638b6c6
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ jobs:
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest"]

defaults:
run:
shell: bash
working-directory: .

steps:
- name: Checkout repo
uses: actions/[email protected]
Expand All @@ -27,15 +22,13 @@ jobs:

- name: Install dependencies
if: steps.cache-venv.outputs.cache-hit != 'true'
run: |
pip install ".[test]"
run: pip install ".[test]"

- name: Test with pytest
run: |
python -m pytest --junitxml=pytest.xml --cov=merkle_zeppelin | tee pytest-result.txt
run: python -m pytest --junitxml=pytest.xml --cov=merkle_zeppelin | tee pytest-result.txt

- name: Make comment with test coverage
uses: MishaKav/pytest-coverage-comment@main
uses: MishaKav/pytest-coverage-comment@v1.1.49
if: github.event_name != 'dependabot[bot]'
with:
pytest-coverage-path: ./pytest-result.txt
Expand Down

0 comments on commit 638b6c6

Please sign in to comment.