File tree Expand file tree Collapse file tree 2 files changed +6
-36
lines changed
Expand file tree Collapse file tree 2 files changed +6
-36
lines changed Original file line number Diff line number Diff line change 1515# limitations under the License.
1616#
1717
18- name : Build
18+ name : build
1919
2020on :
2121 push :
3939 - name : Build
4040 working-directory : ./
4141 run : cargo build --features memory-prof --release
42+ - name : Unit tests
43+ working-directory : ./
44+ run : cargo test --verbose --features memory-prof -- --test-threads=1
4245 - name : Archive production artifacts
4346 uses : actions/upload-artifact@v4
4447 with :
Original file line number Diff line number Diff line change 1515# limitations under the License.
1616#
1717
18- name : Rust
18+ name : code_style_check
1919
2020on :
2121 push :
3232
3333jobs :
3434 build :
35- strategy :
36- matrix :
37- features :
38- - " "
39- - " memory-prof"
40- - " hdfs"
4135 runs-on : ubuntu-latest
4236 steps :
4337 - name : Install Protoc
4438 uses : arduino/setup-protoc@v2
4539 with :
4640 version : " 23.2"
4741 - uses : actions/checkout@v3
48-
49- - name : Build
50- working-directory : ./
51- run : cargo build --features hdfs --verbose
52- if : ${{ matrix.features == '' }}
53-
54- - name : Build with memory-prof
55- working-directory : ./
56- run : cargo build --verbose --features memory-prof
57- if : ${{ matrix.features == 'memory-prof' }}
58-
5942 - name : Code style check
6043 working-directory : ./
61- run : cargo fmt --check
62- if : ${{ matrix.features == '' }}
63-
64- - name : Run basic tests
65- working-directory : ./
66- run : cargo test --verbose -- --test-threads=1
67- if : ${{ matrix.features == '' }}
68-
69- - name : Run tests with memory-prof
70- working-directory : ./
71- run : cargo test --verbose --features memory-prof -- --test-threads=1
72- if : ${{ matrix.features == 'memory-prof' }}
73-
74- - name : Run tests with hdfs
75- working-directory : ./
76- run : cargo test --verbose --features hdfs -- --test-threads=1
77- if : ${{ matrix.features == 'hdfs' }}
44+ run : cargo fmt --check
You can’t perform that action at this time.
0 commit comments