Skip to content

Commit b4cdcc3

Browse files
committed
dont run mssql test when forks dont have secrets
1 parent a3739b7 commit b4cdcc3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci-pipeline.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
tags:
99
- "v*"
1010

11+
env:
12+
MSSQL_TEST_ENABLED: ${{ secrets.MSSQL_VECTOR_USERNAME != '' && secrets.MSSQL_VECTOR_PASSWORD != '' }}
13+
1114
jobs:
1215
lint:
1316
runs-on: ubuntu-latest
@@ -57,7 +60,9 @@ jobs:
5760
fail-fast: false
5861
matrix:
5962
db: [pgvector, redis, elastic, qdrant, mssql]
60-
63+
exclude:
64+
- db: mssql
65+
if: env.MSSQL_TEST_ENABLED == 'false'
6166
steps:
6267
- uses: actions/checkout@v4
6368

0 commit comments

Comments
 (0)