Skip to content

Commit d2d2385

Browse files
committed
split test-all into separate steps
1 parent 5f54fcc commit d2d2385

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Build DBMS images
3232
run: python3 start.py build --dbms all
33-
test-all:
33+
test-dbs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Checkout code
@@ -50,5 +50,20 @@ jobs:
5050
- name: Set up Docker
5151
run: docker --version
5252

53-
- name: Test all DBMSs
54-
run: python3 start.py test --dbms all
53+
- name: Test mysql
54+
run: python3 start.py test --dbms mysql --config mysql/config.json
55+
56+
- name: Test postgres
57+
run: python3 start.py test --dbms postgres --config postgres/config.json
58+
59+
- name: Test sqlite
60+
run: python3 start.py test --dbms sqlite --config sqlite/config.json
61+
62+
- name: Test tidb
63+
run: python3 start.py test --dbms tidb --config tidb/config.json
64+
65+
- name: Test cockroachdb
66+
run: python3 start.py test --dbms cockroachdb --config cockroachdb/config.json
67+
68+
- name: Test duckdb
69+
run: python3 start.py test --dbms duckdb --config duckdb/config.json

sqlancer/entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ if [ "$(printf '%s' "${SQLANCER_PASSWORD:-}" | tr '[:lower:]' '[:upper:]')" != "
3232
fi
3333

3434

35-
# 3) 最后统一追加 host、DBMS、oracle
3635
CMD="$CMD --host \"$SQLANCER_HOST\" \"$SQLANCER_DBMS\" --oracle \"$SQLANCER_ORACLE\""
3736

3837

0 commit comments

Comments
 (0)