Skip to content

Commit

Permalink
check1
Browse files Browse the repository at this point in the history
  • Loading branch information
EliMoshkovich committed Mar 31, 2024
1 parent 2ddc543 commit 7776cba
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/python-sdk-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,14 @@ jobs:
PDP_API_KEY: ${{ env.ENV_API_KEY }}
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pytest -s
pip install flake8 pytest pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pytest --cache-clear --cov=app test/ > pytest-coverage.txt
- name: Archive Pytest test report
uses: actions/upload-artifact@v3
- name: Comment coverage
uses: coroo/pytest-coverage-commentator@v1.0.2
with:
name: SuperTest-test-report
path: report

- name: Upload Pytest report to GitHub
uses: actions/upload-artifact@v3
with:
name: Pytest-test-report
path: report
pytest-coverage: pytest-coverage.txt

- name: Delete env ${{ env.ENV_NAME }}
if: always()
Expand Down

0 comments on commit 7776cba

Please sign in to comment.