fix test.yaml workflow

This commit is contained in:
Sina Atalay
2024-12-10 03:21:26 -05:00
parent da4a6c84b8
commit e01ec005fb

View File

@@ -30,7 +30,7 @@ jobs:
uses: pypa/hatch@install
- name: Test
run: hatch run test.${{ matrix.python-version }}:test-and-report
run: hatch run test.py${{ matrix.python-version }}:test-and-report
- name: Rename the coverage file
run: mv .coverage .coverage.${{ matrix.python-version }}.${{ matrix.os }}
@@ -74,6 +74,6 @@ jobs:
smokeshow upload ./htmlcov
env:
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 97
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 90
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}