Skip to content

Commit 00f57b6

Browse files
committed
Disable some versions in the test.yml matrix
1 parent 13fbd86 commit 00f57b6

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ jobs:
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

0 commit comments

Comments
 (0)