Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ jobs:
with:
shared-key: cargo-${{ inputs.runner }}

- name: File feature integration tests
run: cargo nextest run --features utils,file
- name: Core integration tests
run: cargo nextest run --lib core --features test-utils

- name: HTTP feature integration tests
run: cargo nextest run --features utils,http
- name: Harness implementation integration tests
run: cargo nextest run --lib harness --features debug

- name: Full feature matrix
run: cargo nextest run --all-features
- name: File implementation integration tests
run: cargo nextest run --lib file --features test-utils,impl-file

- name: OpenDAL implementation integration tests
run: cargo nextest run --lib opendal --features test-utils,impl-opendal
20 changes: 7 additions & 13 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
with:
components: clippy

- name: Install cargo-hack
run: cargo install cargo-hack

- uses: Swatinem/rust-cache@v2
with:
shared-key: cargo-${{ inputs.runner }}
Expand All @@ -31,24 +34,15 @@ jobs:

- name: Rustfmt
run: |
cargo +nightly fmt --all
if ! git diff --quiet; then
git status --short
git diff --stat
exit 1
fi

cargo +nightly fmt --all -- --check

- name: Clippy
run: cargo clippy --all-features --all-targets -- -D warnings

- name: Feature compile checks
run: |
cargo check
cargo check --tests
cargo check --features file
cargo check --features http
cargo check --features debug
cargo check --all-features
cargo hack check --each-feature
cargo hack check --no-default-features

- name: Docs.rs feature set
run: RUSTDOCFLAGS='--cfg docsrs' cargo doc --all-features --no-deps
8 changes: 1 addition & 7 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,4 @@ jobs:
shared-key: cargo-${{ inputs.runner }}

- name: Unit tests
run: cargo nextest run --features utils

- name: Debug harness tests
run: cargo nextest run --features utils,debug

- name: Doc tests
run: cargo test --doc --all-features
run: cargo test --lib --all-features
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ target
# Debug artifacts
*.vgcore
heaptrack.*
.cruft/

# Python artifacts
.venv/
Expand Down
Loading
Loading