Skip to content

Commit

Permalink
Add test summary as action (#149)
Browse files Browse the repository at this point in the history
* adds action that sends test summary to step summary
  • Loading branch information
Tofel authored Jan 18, 2024
1 parent 952abab commit ea889b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chainlink-testing-framework/show-test-summary/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: chainlink-testing-framework-show-test-summary
name: show-test-summary
description: Sends test summary to Github Step Summary
inputs:
test_directory:
Expand All @@ -11,11 +11,11 @@ runs:
steps:
- name: Print failed test summary
shell: bash
if: always()
run: |
inputDir="${{ .inputs.test_directory}}"
inputDir="${{ inputs.test_directory }}"
cleanTestDir=${inputDir%/}
directory="$clean_test_dir/.test_summary"
directory="$cleanTestDir/.test_summary"
echo "Looking for test summary in: $directory"
files=("$directory"/*)
if [ -d "$directory" ]; then
echo "Test summary folder found"
Expand Down

0 comments on commit ea889b3

Please sign in to comment.