Skip to content

Commit 4d454df

Browse files
committed
tr1
1 parent 075cff2 commit 4d454df

File tree

2 files changed

+6
-36
lines changed

2 files changed

+6
-36
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
name: Build
18+
name: build
1919

2020
on:
2121
push:
@@ -39,6 +39,9 @@ jobs:
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:
Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
name: Rust
18+
name: code_style_check
1919

2020
on:
2121
push:
@@ -32,46 +32,13 @@ env:
3232

3333
jobs:
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

0 commit comments

Comments
 (0)