CI: Avoid testing against MSRV with test-dev-graph feature flag

We only need it for generating images of halo2_gadgets chips, and its
transitive dependencies have bumped MSRV in point releases.
This commit is contained in:
Jack Grigg 2022-11-24 01:56:54 +00:00
parent ec9dcefe91
commit 0ba0e40b87
1 changed files with 6 additions and 4 deletions

View File

@ -20,7 +20,7 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: test command: test
args: --verbose --release --all --all-features args: --verbose --release --workspace --features batch,dev-graph,gadget-traces,test-dependencies,unstable
build: build:
name: Build target ${{ matrix.target }} name: Build target ${{ matrix.target }}
@ -51,11 +51,13 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
# Check bitrot with stable (as we don't need benchmarks or the test-dev-graph
# feature flag to work with MSRV).
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: 1.56.1 toolchain: stable
override: true override: true
# Build benchmarks to prevent bitrot # Build benchmarks and all-features to prevent bitrot
- name: Build benchmarks - name: Build benchmarks
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -102,7 +104,7 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: tarpaulin command: tarpaulin
args: --all-features --timeout 600 --out Xml args: --features batch,dev-graph,gadget-traces,test-dependencies,unstable --timeout 600 --out Xml
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.1 uses: codecov/codecov-action@v3.1.1