Skip to content

Commit

Permalink
ci: update testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Oct 12, 2023
1 parent 4dc795f commit bfb9394
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
Expand Down Expand Up @@ -44,13 +44,13 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
toolchain: ${{ matrix.toolchain }}
components: clippy

- id: cache
Expand All @@ -65,14 +65,10 @@ jobs:
name: Run Lint Checks
run: cargo clippy --tests --benches --examples --workspace --all-targets --all-features -- -D clippy::correctness -D clippy::suspicious -D clippy::complexity -D clippy::perf -D clippy::style -D clippy::pedantic

- id: testdoc
name: Run Documentation Tests
- id: doc
name: Run Documentation Checks
run: cargo test --doc

- id: builddoc
name: Build Documentation
run: cargo doc --no-deps --bins --examples --workspace --all-features

unit:
name: Units
runs-on: ubuntu-latest
Expand All @@ -85,7 +81,7 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
Expand Down Expand Up @@ -115,24 +111,3 @@ jobs:
- id: coverage
name: Generate Coverage Report
run: cargo llvm-cov nextest --tests --benches --examples --workspace --all-targets --all-features

integration:
name: Integrations
runs-on: ubuntu-latest

steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3

- id: setup
name: Setup Toolchain
uses: dtolnay/rust-toolchain@stable

- id: cache
name: Enable Job Cache
uses: Swatinem/rust-cache@v2

- id: test
name: Run Integration Tests
run: ./docker/bin/e2e/run-e2e-tests.sh

0 comments on commit bfb9394

Please sign in to comment.