Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Jan 13, 2025
1 parent 72e37b6 commit e951a9c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/e2e-test-workflow-call-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ jobs:
- name: Write failed test
if: failure()
run:
echo "${{ matrix.test }}" >> failed-tests.log
echo "${{ matrix.test }}" >> failed-tests-${{ matrix.test }}.log

- name: Upload Failed Tests
if: failure()
uses: actions/upload-artifact@v4
with:
name: failed-tests-${{ matrix.test }}
path: failed-tests.log
path: failed-tests-${{ matrix.test }}.log
if-no-files-found: ignore

# e2e-tests-by runs the actual go test command to trigger the test.
Expand Down Expand Up @@ -192,6 +192,7 @@ jobs:
set +e
touch combined-failed-tests.log
for file in failed-tests-*; do
echo "Adding $file to combined log"
cat "$file" >> combined-failed-tests.log
done
set -e
Expand Down

0 comments on commit e951a9c

Please sign in to comment.