Skip to content

Commit 9d5d30c

Browse files
committed
Get results into a usable format.
1 parent af24e71 commit 9d5d30c

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/datachannel_echo-test.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,9 @@ jobs:
4848
# echo "${{ matrix.server }},${{ matrix.client }},${{ steps.check_connection.outputs.TEST_RESULT }}" >> ${{ matrix.server }}_${{ matrix.client }}_result.csv
4949
# Append the result to the environment variable
5050
echo "RESULTS+=['${{ matrix.server }}','${{ matrix.client }}','${{ steps.check_connection.outputs.TEST_RESULT }}']" >> $GITHUB_ENV
51-
- name: Upload result
52-
uses: actions/upload-artifact@v4
53-
with:
54-
name: results-${{ matrix.server }}-${{ matrix.client }}-${{ github.run_id }}
55-
path: |
56-
${{ matrix.server }}_${{ matrix.client }}_result.csv
51+
echo "GITHUB_ENV=$GITHUB_ENV"
52+
echo "RESULTS=$RESULTS"
53+
echo "env.RESULTS=${{ env.RESULTS }}"
5754
5855
# Job Description: Collates the results of the interop tests into a mark down table.
5956
collate:
@@ -71,13 +68,15 @@ jobs:
7168
for result in ${{ env.RESULTS }}; do
7269
echo "| ${result[0]} | ${result[1]} | ${result[2]} |" >> results.md
7370
done
74-
cat results.md
71+
cat DataChannel_Echo_test_results.md
7572
- name: Commit the results to the git repository
7673
if: github.event_name != 'pull_request'
7774
run: |
7875
git config user.name github-actions
7976
git config user.email [email protected]
8077
git pull
81-
git add DataChannel_Echo_test_results.md DataChannel_Echo_test_results.png
82-
git commit DataChannel_Echo_test_results.md DataChannel_Echo_test_results.png -m "Automated data channel echo test results."
78+
#git add DataChannel_Echo_test_results.md DataChannel_Echo_test_results.png
79+
#git commit DataChannel_Echo_test_results.md DataChannel_Echo_test_results.png -m "Automated data channel echo test results."
80+
git add DataChannel_Echo_test_results.md
81+
git add DataChannel_Echo_test_results.md -m "Automated data channel echo test results."
8382
git push

0 commit comments

Comments
 (0)