Skip to content

Commit 6d1f969

Browse files
check integration test results
1 parent ff40939 commit 6d1f969

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/integration-testing.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ on: [push]
44

55
jobs:
66
multi-language-repo_test-autodetect-languages:
7-
strategy:
8-
fail-fast: false
9-
matrix:
10-
os: [ubuntu-latest, windows-latest]
11-
runs-on: ${{ matrix.os }}
7+
runs-on: ubuntu-latest
128

139
steps:
1410
- uses: actions/checkout@v2
@@ -26,6 +22,18 @@ jobs:
2622
- uses: ./../action/analyze
2723
env:
2824
TEST_MODE: true
25+
- run: |
26+
cd "$CODEQL_ACTION_DATABASE_DIR"
27+
if [ "$(ls | wc -l)" != 6 ] || \
28+
[[ ! -d cpp ]] || \
29+
[[ ! -d csharp ]] || \
30+
[[ ! -d go ]] || \
31+
[[ ! -d java ]] || \
32+
[[ ! -d javascript ]] || \
33+
[[ ! -d python ]]; then
34+
echo "Did not find expected number of databases. Database dir contains: $(ls)"
35+
exit 1
36+
fi
2937
3038
multi-language-repo_test-custom-queries:
3139
strategy:

0 commit comments

Comments
 (0)