Skip to content

Commit

Permalink
Auto merge of #11632 - ehuss:dogfood-sparse, r=weihanglo
Browse files Browse the repository at this point in the history
Enable sparse protocol in CI

This enables the sparse protocol in CI in order to exercise and dogfood it. This is intended test the production server in a real-world situation.
  • Loading branch information
bors committed Jan 27, 2023
2 parents c03cc59 + 7b2343e commit 9d1e248
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ jobs:
- name: Configure extra test environment
run: echo CARGO_CONTAINER_TESTS=1 >> $GITHUB_ENV
if: matrix.os == 'ubuntu-latest'
- name: Enable sparse
run: echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV
if: "!contains(matrix.rust, 'stable')"

# Deny warnings on CI to avoid warnings getting into the codebase.
- run: cargo test --features 'deny-warnings'
Expand Down Expand Up @@ -140,6 +143,8 @@ jobs:

build_std:
runs-on: ubuntu-latest
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
steps:
- uses: actions/checkout@v3
- run: rustup update nightly && rustup default nightly
Expand Down

0 comments on commit 9d1e248

Please sign in to comment.