Skip to content

Commit

Permalink
chore: Only test all features on branch names containing "inference"
Browse files Browse the repository at this point in the history
  • Loading branch information
croyzor committed Jan 9, 2024
1 parent d07406c commit 5088ea8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
- rust: nightly
isMerge: true
name: tests (Rust ${{ matrix.rust }})
env:
IS_MERGE: ${{ contains(github.ref_name + github.base_name, 'inference') }}
steps:
- uses: actions/checkout@v4
- uses: mozilla-actions/[email protected]
Expand All @@ -83,8 +85,10 @@ jobs:
- name: Tests with no features
run: cargo test --verbose --no-default-features
- name: Build with all features
if: ${{ env.IS_MERGE }}
run: cargo test --verbose --all-features --no-run
- name: Tests with all features
if: ${{ env.IS_MERGE }}
run: cargo test --verbose --all-features

coverage:
Expand Down

0 comments on commit 5088ea8

Please sign in to comment.