Skip to content

Commit

Permalink
Update CI To Create TMP Directory & Display Logs
Browse files Browse the repository at this point in the history
  • Loading branch information
brightprogrammer committed Dec 18, 2024
1 parent daef175 commit 8b53896
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,21 @@ jobs:
run: |
ninja -C build
# Create temporary directory for logs
- name: Create temporary directory
run: |
export TMP=$(mktemp -d)
echo "Temporary directory created at $TMP"
echo "TMP=$TMP" >> $GITHUB_ENV
# Run tests
- name: Run tests
run: |
./build/bin/reai_test
# Output logs from the temporary directory
- name: Display logs
run: |
echo "Logs from $TMP:"
ls "$TMP"
cat "$TMP"/* || echo "No log files found"

0 comments on commit 8b53896

Please sign in to comment.