save log on failure

This commit is contained in:
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil 2024-07-25 14:16:58 -04:00
parent 4f21e17f46
commit df333fa36a
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,7 @@ if [ "$test" = "3" ] || [ "$test" = "all" ]; then
setPolicyEkPcFw
setPlatformCerts -p "laptop" -t "badVarInstall"
setRims -p "laptop" -t "badVarInstall"
provisionTpm2 "fail"
provisionTpm2 "pass"
fi
# Process Test Results, any single failure will send back a failed result.

View File

@ -136,6 +136,7 @@ jobs:
echo "*** Exiting and removing Docker containers and network ..."
docker compose -f .ci/docker/docker-compose-system-test.yml down -v
- name: Archive System Test Log files
if: always()
uses: actions/upload-artifact@v4
with:
name: System_Test_Log_Files