Skip to content

Commit

Permalink
run fips tests with single thread
Browse files Browse the repository at this point in the history
to avoid exhausting entropy in CI, and issues caused by repeated
enabling of FIPs provider
  • Loading branch information
tofay committed Nov 19, 2024
1 parent 46540e2 commit d24026a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ jobs:
toolchain: stable
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
# Use single thread on FIPS to avoid running out of entropy
- name: Run cargo test --features fips
run: cargo test --features fips
run: cargo test --tests --features fips -- --test-threads=1

test-fips-openssl-3:
name: Test using FIPS openssl 3
Expand All @@ -84,4 +85,4 @@ jobs:
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
- name: Run cargo test --features fips
run: cargo test --features fips
run: cargo test --tests --features fips -- --test-threads=1

0 comments on commit d24026a

Please sign in to comment.