Skip to content

Commit

Permalink
Added markdown report
Browse files Browse the repository at this point in the history
  • Loading branch information
ritwik-g committed Jun 11, 2024
1 parent 81ca56d commit 3840fae
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 26 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ jobs:

- name: Run tox
id: tox
run: tox
env:
REPORT_OUTPUT: worker-report.md
run: |
echo "REPORT_FILE=${REPORT_OUTPUT}" >> "$GITHUB_ENV"
tox
- name: Create comment
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body-path: './.tox/worker/log/4-commands[0].log'
body-path: ${{ env.REPORT_FILE }}
164 changes: 141 additions & 23 deletions worker/pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion worker/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dev = [
"pytest>=8.2.2",
"pytest-mock>=3.14.0",
"pytest-cov>=5.0.0",
"pytest-html>=4.1.1",
"pytest-md-report>=0.6.2",
]

[tool.pdm.scripts]
Expand Down

0 comments on commit 3840fae

Please sign in to comment.