Skip to content

Commit

Permalink
Logging of testrun context, with explicit locale setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Crannaford committed Sep 26, 2024
1 parent 2dee6e5 commit 24d7ac6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,16 @@ jobs:
- name: Setup cmfive Test Environment
run: |
docker exec -t cmfive sh -c "chmod -R ugo=rwX /var/www/html*"
sudo locale-gen en_AU.UTF-8
sudo update-locale en_AU.UTF-8
LANG=en_AU.UTF-8
LC_ALL=en_AU.UTF-8
echo "Test Execution context:"
echo "Runner locale info"
date
locale
echo "Web host timezone"
docker exec -t cmfive sh -c "date"
- name: Inject configs into cmfive Test Environment
run: |
Expand Down Expand Up @@ -271,6 +281,18 @@ jobs:
echo "Timelog module tests failed"
fi
- name: Get source code details
if: ${{ failure() }} || ${{ success() }}
run: |
echo ">> CONTAINER LABELS (BOILERPLATE) <<"
echo "===================================="
docker inspect --format='{{range $key, $value := .Config.Labels}}{{$key}}={{$value}}{{println}}{{end}}' cmfive
echo ""
echo ""
echo ">> CORE COMMIT DETAILS <<"
echo "========================="
docker exec -u cmfive cmfive sh -c "cd composer/vendor/2pisoftware/cmfive-core && git log -n 1"
- name: Get container logs
if: ${{ failure() }} || ${{ success() }}
run: |
Expand Down

0 comments on commit 24d7ac6

Please sign in to comment.