File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed
Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change 77 runs-on : ${{ matrix.os }}
88 strategy :
99 matrix :
10- os : [ubuntu-latest]
10+ os :
11+ - ubuntu-22.04
12+ # - ubuntu-latest
1113 python-version :
1214 - 3.7
13- - 3.9
15+ # - 3.9
1416 # - 3.13
1517 splunk-version :
16- - " 8.2"
1718 - " 9.3"
1819 # - "9.4"
1920 # - "latest"
21+
2022 fail-fast : false
2123 steps :
2224 - name : Checkout repo
@@ -31,17 +33,19 @@ jobs:
3133 python-version : ${{ matrix.python-version }}
3234 - name : Install dependencies
3335 run : type -a python && python -m pip install tox
34- # - name: Run Docker health check
35- # # This probably solves nothing
36- # run: |
37- # timeout 30s make wait_up
38- # if [ $? -eq 124 ]; then
39- # echo "Splunk failed to start within 30 seconds."
40- # docker compose logs
41- # exit 1
42- # fi
36+ - name : Run Docker health check
37+ # This probably solves nothing
38+ run : |
39+ timeout 30s make wait_up
40+ if [ $? -eq 124 ]; then
41+ echo "Splunk failed to start within 30 seconds."
42+ docker compose logs
43+ exit 1
44+ fi
4345 - name : Run test suite
4446 run : type -a python && python -m tox -e py
47+ - name : Print docker logs for optional inspection
48+ run : docker compose logs
4549# [BJ] I'll uncomment this step after I finish fiddling
4650# fossa-scan:
4751# uses: splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
You can’t perform that action at this time.
0 commit comments