Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

get docker logs from macos falling tests

Michal Rutka1f2ffa19edc8
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 9209c79c5..deee1aaea 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -82,6 +82,11 @@ jobs:
./gradlew clean test
# Typically it takes 10 minutes to complete tests, default timeout is 6h, to be agile we need to pivot quicker :-)
timeout-minutes: 30
+ - name: check containers when failure
+ if: failure()
+ run: |
+ eval "$(docker-machine env default)"
+ docker-compose -f profile/dev-testing.yml logs
- name: Share tests artifacts
if: failure()
uses: actions/upload-artifact@v2