Skip to content

Commit

Permalink
fix: style of macaw summary output
Browse files Browse the repository at this point in the history
  • Loading branch information
edkerk committed Oct 18, 2024
1 parent 760b376 commit 6c85278
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
This PR has been [automatically tested with GH Actions](https://github.com/SysBioChalmers/Human-GEM/actions/runs/{GH_ACTION_RUN}). Here is the output of the macaw test:
This PR has been [automatically tested with GH Actions](https://github.com/SysBioChalmers/Human-GEM/actions/runs/{GH_ACTION_RUN}). Here is the output of the [MACAW](https://github.com/Devlin-Moyer/macaw) test:

<pre>
{TEST_RESULTS}
</pre>

A more detailed output from this test run is also committed to `data/macawResults/macaw_results.csv`.
This and a more detailed output from MACAW are also committed to `data/macawResults/`.

> _Note: In the case of multiple test runs, this post will be edited._
3 changes: 2 additions & 1 deletion .github/workflows/macaw-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
PARSED_RESULTS="${PARSED_RESULTS//$'\r'/'<br>'}"
echo $PARSED_RESULTS
echo "results=$PARSED_RESULTS" >> $GITHUB_OUTPUT
printf "$TEST_RESULTS" > data/macawResults/macaw_summary.md
- name: Mention PR# in README.md
env:
Expand All @@ -50,7 +51,7 @@ jobs:
- name: Post comment
uses: NejcZdovc/comment-pr@v2
with:
file: "commentsFromTests.md"
file: "commentMacaw.md"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
TEST_RESULTS: ${{steps.macaw-run.outputs.results}}
Expand Down

0 comments on commit 6c85278

Please sign in to comment.