Skip to content

Commit

Permalink
Merge pull request #54 from rdettai/makefile
Browse files Browse the repository at this point in the history
Add makefile
  • Loading branch information
JanKaul authored Nov 9, 2024
2 parents ee4761b + 8d88648 commit f7c6e8d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: Build
run: cargo build --verbose
- name: Run iceberg-rust-spec tests
run: cargo test -p iceberg-rust-spec --lib --verbose
run: make test-iceberg-rust-spec
- name: Run iceberg-rust tests
run: cargo test -p iceberg-rust --lib --verbose
run: make test-iceberg-rust
- name: Run datafusion-iceberg tests
run: cargo test -p datafusion_iceberg --tests --verbose -j 2
run: make test-datafusion_iceberg

lint:
runs-on: ubuntu-latest
Expand All @@ -30,4 +30,4 @@ jobs:
- name: Install Clippy
run: rustup component add clippy
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
run: make clippy
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
test: test-iceberg-rust-spec test-iceberg-rust test-datafusion_iceberg

test-iceberg-rust-spec:
cargo test -p iceberg-rust-spec --lib

test-iceberg-rust:
cargo test -p iceberg-rust --lib

test-datafusion_iceberg:
cargo test -p datafusion_iceberg --tests -j 2

clippy:
cargo clippy --all-targets --all-features -- -D warnings

0 comments on commit f7c6e8d

Please sign in to comment.