ci: run database connector tests for every PR (#7612)

* ci: run database connector tests for every PR

* ci: correct yaml

* chore: revert format

* chore: include a dummy change to trigger github actions

* Revert "chore: include a dummy change to trigger github actions"

This reverts commit 599e23dd8e.

* chore: correct yaml

* ci: correct ci config

* Update .github/workflows/develop.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ning Sun
2026-01-27 14:18:07 +08:00
committed by GitHub
parent 65f46b6a2f
commit 94a5328fa0
3 changed files with 16 additions and 77 deletions
+7 -20
View File
@@ -68,26 +68,13 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ inputs.artifact-name }}
path: artifact
path: .
- name: Setup greptime binary
run: |
mkdir -p bin
if [ "${{ inputs.artifact-is-tarball }}" = "true" ]; then
# Extract tarball and find greptime binary
tar -xzf artifact/*.tar.gz -C artifact
find artifact -name "greptime" -type f -exec cp {} bin/greptime \;
else
# Direct binary format
if [ -f artifact/greptime ]; then
cp artifact/greptime bin/greptime
else
cp artifact/* bin/greptime
fi
fi
chmod +x ./bin/greptime
ls -lh ./bin/greptime
./bin/greptime --version
- name: Unzip binaries
run: tar -xvf ./${{ inputs.artifact-name }}.tar.gz
- name: Print greptime binary info
run: ls -lh ${{ inputs.artifact-name }} && file ${{ inputs.artifact-name }}/greptime
- name: Setup Java 17
uses: actions/setup-java@v4
@@ -133,7 +120,7 @@ jobs:
- name: Start GreptimeDB standalone
run: |
./bin/greptime standalone start \
./bins/greptime standalone start \
--http-addr 0.0.0.0:${{ inputs.http-port }} \
--rpc-addr 0.0.0.0:4001 \
--mysql-addr 0.0.0.0:${{ inputs.mysql-port }} \