Skip to content
Merged
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
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ jobs:

- name: Check formatting (rustfmt)
id: fmt
run: cargo fmt --all --check
run: |
cargo metadata --format-version 1 --no-deps \
| jq -r '.packages[] | select(.name != "dt-tests") | "--package", .name' \
| xargs -r cargo fmt --check

- name: Run lint checks (clippy)
id: lint
# Assuming 'make lint' runs 'cargo clippy'
run: make lint
run: cargo clippy --workspace --exclude dt-tests

# - name: Check for typos
# id: typos
Expand All @@ -67,7 +69,7 @@ jobs:

- name: Run cargo check
id: check
run: cargo check --workspace --all-targets --all-features
run: cargo check --workspace --exclude dt-tests --all-targets --all-features

- name: Summarize lint issues
if: always()
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Integration Tests
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, edited, ready_for_review]
paths-ignore:
- "**.md"
- "docs/**"
Expand All @@ -23,6 +24,7 @@ env:
jobs:
discover:
name: Discover integration suites
if: github.event_name == 'workflow_dispatch' || startsWith(github.event.pull_request.title, 'chore:') == false
runs-on: ubuntu-latest
outputs:
suites: ${{ steps.suites.outputs.suites }}
Expand All @@ -46,6 +48,7 @@ jobs:
integration-test:
name: "Integration / ${{ matrix.suite }}"
needs: discover
if: github.event_name == 'workflow_dispatch' || startsWith(github.event.pull_request.title, 'chore:') == false
runs-on: ubuntu-latest
timeout-minutes: 90

Expand Down
Loading