Skip to content

Commit

Permalink
fix(ci): format output as table (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Feb 24, 2023
1 parent 33c0482 commit 7fb888d
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/netsim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
id: generate_report
run: |
cd chuck/netsim
python3 reports_csv.py > report.txt
python3 reports_csv.py --table > report.txt
export NETSIM_REPORT=$(cat report.txt)
echo "NETSIM_REPORT<<EOFMARKER" >> ${GITHUB_OUTPUT}
echo "${NETSIM_REPORT}" >> ${GITHUB_OUTPUT}
Expand All @@ -92,15 +92,8 @@ jobs:
body: |
body: |
`${{ github.head_ref }}.${{ env.LAST_COMMIT_SHA }}`
<details>
<summary>Perf report</summary>
```json
${{ steps.generate_report.outputs.NETSIM_REPORT }}
```
</details>
Perf report
${{ steps.generate_report.outputs.NETSIM_REPORT }}
- name: Respond PR
uses: peter-evans/create-or-update-comment@v2
Expand All @@ -109,15 +102,8 @@ jobs:
issue-number: ${{ github.event.pull_request.number }}
body: |
`${{ github.head_ref }}.${{ env.LAST_COMMIT_SHA }}`
<details>
<summary>Perf report</summary>
```json
${{ steps.generate_report.outputs.NETSIM_REPORT }}
```
</details>
Perf report
${{ steps.generate_report.outputs.NETSIM_REPORT }}
- name: Dump report
run: |
Expand Down

0 comments on commit 7fb888d

Please sign in to comment.