3
3
pull_request :
4
4
paths-ignore :
5
5
- " .github/**"
6
- - " !.github/workflows/wasm -perf.yml"
6
+ - " !.github/workflows/qe -perf.yml"
7
7
- " .buildkite/**"
8
8
- " *.md"
9
9
- " LICENSE"
@@ -14,58 +14,50 @@ jobs:
14
14
run-benchmarks :
15
15
name : Run benchmarks
16
16
runs-on : ubuntu-latest
17
- outputs :
18
- results : ${{ steps.bench.outputs.results }}
19
17
steps :
20
18
- name : Checkout PR branch
21
19
uses : actions/checkout@v4
22
20
23
- - name : " Setup Node.js"
24
- uses : actions/setup-node@v4
25
- with :
26
- node-version : ${{ matrix.node_version }}
21
+ # - name: "Setup Node.js"
22
+ # uses: actions/setup-node@v4
23
+ # with:
24
+ # node-version: ${{ matrix.node_version }}
27
25
28
- - name : " Setup pnpm"
29
- uses : pnpm/action-setup@v2
30
- with :
31
- version : 8
26
+ # - name: "Setup pnpm"
27
+ # uses: pnpm/action-setup@v2
28
+ # with:
29
+ # version: 8
32
30
33
- - name : " Get pnpm store directory"
34
- shell : bash
35
- run : |
36
- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
31
+ # - name: "Get pnpm store directory"
32
+ # shell: bash
33
+ # run: |
34
+ # echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
37
35
38
- - name : " Login to Docker Hub"
39
- uses : docker/login-action@v3
40
- continue-on-error : true
41
- env :
42
- DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
43
- DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
44
- if : " ${{ env.DOCKERHUB_USERNAME != '' && env.DOCKERHUB_TOKEN != '' }}"
45
- with :
46
- username : ${{ secrets.DOCKERHUB_USERNAME }}
47
- password : ${{ secrets.DOCKERHUB_TOKEN }}
36
+ # - name: "Login to Docker Hub"
37
+ # uses: docker/login-action@v3
38
+ # continue-on-error: true
39
+ # env:
40
+ # DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
41
+ # DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
42
+ # if: "${{ env.DOCKERHUB_USERNAME != '' && env.DOCKERHUB_TOKEN != '' }}"
43
+ # with:
44
+ # username: ${{ secrets.DOCKERHUB_USERNAME }}
45
+ # password: ${{ secrets.DOCKERHUB_TOKEN }}
48
46
49
- - uses : dtolnay/rust-toolchain@stable
47
+ # - uses: dtolnay/rust-toolchain@stable
50
48
51
- - name : Install wasm-pack
52
- run : cargo install wasm-pack
49
+ # - name: Install wasm-pack
50
+ # run: cargo install wasm-pack
53
51
54
- - name : Setup benchmark
55
- run : make setup-pg-bench
52
+ # - name: Setup benchmark
53
+ # run: make setup-pg-bench
56
54
57
55
- name : Run benchmarks
58
56
id : bench
57
+ uses : mathiasvr/command-output@v2.0.0
59
58
run : |
60
- echo "results=$(make run-bench)\n" >> $GITHUB_OUTPUT
59
+ echo "Foo\nBar"
61
60
62
- report :
63
- name : Report benchmarks
64
- runs-on : ubuntu-latest
65
- needs :
66
- - run-benchmarks
67
-
68
- steps :
69
61
- name : Find past report comment
70
62
uses : peter-evans/find-comment@v2
71
63
id : findReportComment
83
75
### Query engine benchmark results
84
76
85
77
```sh
86
- ${{ needs.run-benchmarks .outputs.results }}
78
+ ${{ steps.bench .outputs.stdout }}
87
79
```
88
80
edit-mode : replace
0 commit comments