99 - ' packages/**'
1010 - ' rust/cubestore/**'
1111 - ' rust/cubesql/**'
12+ - ' rust/cubenativeutils/**'
13+ - ' rust/cubeorchestrator/**'
14+ - ' rust/cubeshared/**'
15+ - ' rust/cubesqlplanner/**'
1216 - ' .eslintrc.js'
1317 - ' .prettierrc'
1418 - ' package.json'
2428 - ' packages/**'
2529 - ' rust/cubestore/**'
2630 - ' rust/cubesql/**'
31+ - ' rust/cubenativeutils/**'
32+ - ' rust/cubeorchestrator/**'
33+ - ' rust/cubeshared/**'
34+ - ' rust/cubesqlplanner/**'
2735 - ' .eslintrc.js'
2836 - ' .prettierrc'
2937 - ' package.json'
@@ -104,7 +112,6 @@ jobs:
104112 working-directory : ./packages/cubejs-backend-native
105113 env :
106114 PYO3_PYTHON : python${{ matrix.python-version }}
107-
108115 - name : Lerna test
109116 run : yarn lerna run --concurrency 1 --stream --no-prefix unit
110117# - uses: codecov/codecov-action@v1
@@ -113,6 +120,51 @@ jobs:
113120# files: ./packages/*/coverage/clover.xml
114121# flags: cube-backend
115122# verbose: true # optional (default = false)
123+ - name : Cargo fmt cubeorchestrator
124+ run : |
125+ cargo fmt --manifest-path rust/cubeorchestrator/Cargo.toml -- --check
126+ - name : Cargo build cubeorchestrator
127+ run : |
128+ cargo build --manifest-path rust/cubeorchestrator/Cargo.toml -j 4
129+ - name : Cargo test cubeorchestrator
130+ run : |
131+ cargo test --manifest-path rust/cubeorchestrator/Cargo.toml -j 1
132+ - name : Cargo fmt cubenativeutils
133+ run : |
134+ cargo fmt --manifest-path rust/cubenativeutils/Cargo.toml -- --check
135+ - name : Cargo build cubenativeutils
136+ run : |
137+ cargo build --manifest-path rust/cubenativeutils/Cargo.toml -j 4
138+ - name : Cargo test cubenativeutils
139+ run : |
140+ cargo test --manifest-path rust/cubenativeutils/Cargo.toml -j 1
141+ - name : Cargo fmt cubeshared
142+ run : |
143+ cargo fmt --manifest-path rust/cubeshared/Cargo.toml -- --check
144+ - name : Cargo build cubeshared
145+ run : |
146+ cargo build --manifest-path rust/cubeshared/Cargo.toml -j 4
147+ - name : Cargo test cubeshared
148+ run : |
149+ cargo test --manifest-path rust/cubeshared/Cargo.toml -j 1
150+ - name : Cargo fmt cubesql
151+ run : |
152+ cargo fmt --manifest-path rust/cubesql/Cargo.toml -- --check
153+ - name : Cargo build cubesql
154+ run : |
155+ cargo build --manifest-path rust/cubesql/Cargo.toml -j 4
156+ - name : Cargo test cubesql
157+ run : |
158+ cargo test --manifest-path rust/cubesql/Cargo.toml -j 1
159+ - name : Cargo fmt cubesqlplanner
160+ run : |
161+ cargo fmt --manifest-path rust/cubesqlplanner/cubesqlplanner/Cargo.toml -- --check
162+ - name : Cargo build cubesqlplanner
163+ run : |
164+ cargo build --manifest-path rust/cubesqlplanner/cubesqlplanner/Cargo.toml -j 4
165+ - name : Cargo test cubesqlplanner
166+ run : |
167+ cargo test --manifest-path rust/cubesqlplanner/cubesqlplanner/Cargo.toml -j 1
116168
117169 lint :
118170 runs-on : ubuntu-20.04
0 commit comments