Skip to content

Commit 28a878e

Browse files
Merge pull request #43 from github/integration_test_check
Check integration test results
2 parents 855f965 + d518039 commit 28a878e

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, pull_request]
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
@@ -25,6 +21,18 @@ jobs:
2521
- uses: ./../action/analyze
2622
env:
2723
TEST_MODE: true
24+
- run: |
25+
cd "$CODEQL_ACTION_DATABASE_DIR"
26+
if [ "$(ls | wc -l)" != 6 ] || \
27+
[[ ! -d cpp ]] || \
28+
[[ ! -d csharp ]] || \
29+
[[ ! -d go ]] || \
30+
[[ ! -d java ]] || \
31+
[[ ! -d javascript ]] || \
32+
[[ ! -d python ]]; then
33+
echo "Did not find expected number of databases. Database dir contains: $(ls)"
34+
exit 1
35+
fi
2836
2937
multi-language-repo_test-custom-queries:
3038
strategy:

0 commit comments

Comments
 (0)