File tree Expand file tree Collapse file tree 3 files changed +15
-19
lines changed
test_sqllogic_cluster_linux
test_sqllogic_standalone_linux Expand file tree Collapse file tree 3 files changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,13 @@ runs:
23
23
sha : ${{ github.sha }}
24
24
target : ${{ inputs.target }}
25
25
26
- - name : Test setup
27
- shell : bash
28
- run : |
29
- bash ./scripts/setup/dev_setup.sh -yd
30
-
31
26
- name : Run sqllogic Tests with Cluster mode
32
27
shell : bash
33
28
run : |
34
- bash ./scripts/ci/ci-run-sqllogic-tests-cluster.sh ${{ inputs.dirs }}
29
+ docker run --rm --tty --net=host \
30
+ --user $(id -u):$(id -g) \
31
+ --volume "${PWD}:/workspace" \
32
+ --workdir "/workspace" \
33
+ datafuselabs/build-tool:sqllogic \
34
+ bash ./scripts/ci/ci-run-sqllogic-tests-cluster.sh \
35
+ ${{ inputs.dirs }}
Original file line number Diff line number Diff line change @@ -23,18 +23,13 @@ runs:
23
23
sha : ${{ github.sha }}
24
24
target : ${{ inputs.target }}
25
25
26
- - name : Test setup
27
- shell : bash
28
- run : |
29
- bash ./scripts/setup/dev_setup.sh -yd
30
-
31
26
- name : Run sqllogic Tests with Standalone mode with embedded meta-store
32
27
shell : bash
33
28
run : |
34
- bash ./scripts/ci/ci- run-sqllogic-tests.sh ${{ inputs.dirs }}
35
-
36
- # - name: Upload failure
37
- # if: failure()
38
- # uses: ./.github/actions/artifact_failure
39
- # with:
40
- # name: test-sqllogic-standalone-linux
29
+ docker run --rm --tty --net=host \
30
+ --user $(id -u):$(id -g) \
31
+ --volume "${PWD}:/workspace" \
32
+ --workdir "/workspace" \
33
+ datafuselabs/build-tool:sqllogic \
34
+ bash ./scripts/ci/ci-run-sqllogic-tests.sh \
35
+ ${{ inputs.dirs }}
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ jobs:
203
203
run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
204
204
- name : Upload to github release
205
205
env :
206
- GH_TOKEN : ${{ inputs.github_token }}
206
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
207
207
run : |
208
208
version=${{ needs.create_release.outputs.version }}
209
209
tar -C ./tests/logictest -czvf testsuites-${version}.tar.gz suites
You can’t perform that action at this time.
0 commit comments