File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 71
71
- name : Run tests
72
72
run : |
73
73
tox -e tests
74
+ - name : Keycloak logs
75
+ run : |
76
+ cat keycloak_test_logs.txt
74
77
75
78
build :
76
79
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ nosetests.xml
45
45
coverage.xml
46
46
* .cover
47
47
.hypothesis /
48
+ keycloak_test_logs.txt
48
49
49
50
# Translations
50
51
* .mo
Original file line number Diff line number Diff line change 3
3
CMD_ARGS=$1
4
4
KEYCLOAK_DOCKER_IMAGE=" quay.io/keycloak/keycloak:latest"
5
5
6
- echo " ${CMD_ARGS} "
7
-
8
6
function keycloak_stop() {
9
7
docker stop unittest_keycloak & > /dev/null
10
8
docker rm unittest_keycloak & > /dev/null
@@ -30,6 +28,7 @@ keycloak_stop # In case it did not shut down correctly last time.
30
28
keycloak_start
31
29
32
30
eval ${CMD_ARGS}
31
+ docker logs unittest_keycloak > keycloak_test_logs.txt
33
32
RETURN_VALUE=$?
34
33
35
34
exit ${RETURN_VALUE}
You can’t perform that action at this time.
0 commit comments