Skip to content
Merged
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
27 changes: 22 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,37 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.85.0
components: clippy, rustfmt
rustflags: ""
cache-shared-key: linux-ci
cache-save-if: ${{ github.ref == 'refs/heads/main' }}
cache-on-failure: false
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
run: cargo clippy --locked --all-targets -- -D warnings
- name: Tests
run: cargo test --workspace
run: cargo test --locked --workspace

conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.85.0
rustflags: ""
cache-shared-key: linux-ci
cache-save-if: false
cache-on-failure: false
- name: Build runner and mock provider
run: cargo build --release --bin lpp-mock-provider --bin lpp-conformance-runner
run: cargo build --locked --bin lpp-mock-provider --bin lpp-conformance-runner
- name: Validate fixture structure
run: ./target/release/lpp-conformance-runner --validate-only --fixtures conformance/fixtures/v1
run: ./target/debug/lpp-conformance-runner --validate-only --fixtures conformance/fixtures/v1
- name: Run conformance against the mock provider
run: ./target/release/lpp-conformance-runner --provider ./target/release/lpp-mock-provider --fixtures conformance/fixtures/v1
run: ./target/debug/lpp-conformance-runner --provider ./target/debug/lpp-mock-provider --fixtures conformance/fixtures/v1