File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 28
28
runs_on : ubuntu-22.04
29
29
- type : arm64
30
30
runs_on : cloud-image-runner-arm64
31
+ parallel_build :
32
+ - enabled : true
33
+ name : " parallel"
34
+ features : " pg_test"
35
+ - enabled : false
36
+ name : " sequential"
37
+ features : " pg_test"
31
38
32
39
env :
33
40
PG_SRC_DIR : pgbuild
@@ -64,14 +71,14 @@ jobs:
64
71
pg-install-dir : ~/${{ env.PG_INSTALL_DIR }}
65
72
pgrx-version : 0.12.9
66
73
67
- - name : Run Clippy
74
+ - name : Run Clippy (${{ matrix.parallel_build.name }})
68
75
id : clippy
69
76
run : |
70
77
cd pgvectorscale
71
- cargo clippy --all-targets --no-default-features --features 'pg_test pg${{ matrix.pg.major }}'
78
+ cargo clippy --all-targets --no-default-features --features '${{ matrix.parallel_build.features }} pg${{ matrix.pg.major }}${{ matrix.parallel_build.enabled && ' build_parallel' || '' }}'
72
79
73
- - name : Run tests
80
+ - name : Run tests (${{ matrix.parallel_build.name }})
74
81
id : runtests
75
82
run : |
76
83
cd pgvectorscale
77
- cargo pgrx test -- pg${{ matrix.pg.major }}
84
+ cargo pgrx test --no-default-features --features '${{ matrix.parallel_build.features }} pg${{ matrix.pg.major }}${{ matrix.parallel_build.enabled && ' build_parallel' || '' }}' -- pg${{ matrix.pg.major }}
You can’t perform that action at this time.
0 commit comments