Skip to content

Commit

Permalink
fix workflow script for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
doujiang24 committed Jan 6, 2025
1 parent 503afb9 commit 607fd4f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
sudo bash -x dependencies.sh
mkdir build
cd build
cmake ..
cmake .. -DUSE_HTTP=ON
shell: bash
- name: make
run: |
Expand All @@ -28,10 +28,13 @@ jobs:
run: |
cd mooncake-transfer-engine/example/http-metadata-server
export PATH=$PATH:/usr/local/go/bin
go run . --addr=:8090 &
go mod tidy && go build -o http-metadata-server .
./http-metadata-server --addr=:8090 &
shell: bash
- name: test
run: |
cd build
MC_METADATA_SERVER=http://127.0.0.1:8090/metadata make test -j
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
ldconfig -v || echo "always continue"
MC_METADATA_SERVER=http://127.0.0.1:8090/metadata make test -j ARGS="-V"
shell: bash

0 comments on commit 607fd4f

Please sign in to comment.