Skip to content

Commit 3d4ad78

Browse files
authored
Fix argument error in nightly unit tests (#132)
Workflow still fails since we don't meet the coverage target. Retry of #130
1 parent 5d31832 commit 3d4ad78

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/development.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,14 @@ jobs:
113113
if-no-files-found: error
114114
retention-days: 30
115115
- name: Comment Install instructions
116-
uses: mshick/add-pr-comment@v2
116+
uses: actions/github-script@v7
117117
with:
118-
message: |
119-
Build artifacts (.whl and .tar.gz) are available for download for up to 30 days.
120-
They are located at ${{ steps.artifact-upload.outputs.artifact-url }}
118+
github-token: ${{ secrets.GITHUB_TOKEN }}
119+
script: |
120+
github.rest.issues.createComment({
121+
issue_number: context.issue.number,
122+
owner: context.repo.owner,
123+
repo: context.repo.repo,
124+
body: `Build artifacts (.whl and .tar.gz) are available for download for up to 30 days.
125+
They are located at ${{ steps.artifact-upload.outputs.artifact-url }}`
126+
})

.github/workflows/nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install dependencies
2020
run: pip install tox
2121
- name: Run unit tests
22-
run: tox -e test-unit -- -m --cov=guidellm --cov-report=term-missing --cov-fail-under=75
22+
run: tox -e test-unit -- --cov=guidellm --cov-report=term-missing --cov-fail-under=75
2323

2424
integration-tests:
2525
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)