Skip to content

Commit f7c6e8d

Browse files
authored
Merge pull request #54 from rdettai/makefile
Add makefile
2 parents ee4761b + 8d88648 commit f7c6e8d

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
- name: Build
1818
run: cargo build --verbose
1919
- name: Run iceberg-rust-spec tests
20-
run: cargo test -p iceberg-rust-spec --lib --verbose
20+
run: make test-iceberg-rust-spec
2121
- name: Run iceberg-rust tests
22-
run: cargo test -p iceberg-rust --lib --verbose
22+
run: make test-iceberg-rust
2323
- name: Run datafusion-iceberg tests
24-
run: cargo test -p datafusion_iceberg --tests --verbose -j 2
24+
run: make test-datafusion_iceberg
2525

2626
lint:
2727
runs-on: ubuntu-latest
@@ -30,4 +30,4 @@ jobs:
3030
- name: Install Clippy
3131
run: rustup component add clippy
3232
- name: Run Clippy
33-
run: cargo clippy --all-targets --all-features -- -D warnings
33+
run: make clippy

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
test: test-iceberg-rust-spec test-iceberg-rust test-datafusion_iceberg
2+
3+
test-iceberg-rust-spec:
4+
cargo test -p iceberg-rust-spec --lib
5+
6+
test-iceberg-rust:
7+
cargo test -p iceberg-rust --lib
8+
9+
test-datafusion_iceberg:
10+
cargo test -p datafusion_iceberg --tests -j 2
11+
12+
clippy:
13+
cargo clippy --all-targets --all-features -- -D warnings

0 commit comments

Comments
 (0)