Skip to content

Commit

Permalink
Update ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaoruntao committed May 21, 2023
1 parent 3e03f0b commit 5361aa1
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
matrix:
toolchain:
- stable
# - beta
# - nightly
# - beta
# - nightly
mongodb-version: [ '6.0' ]
steps:
- uses: actions/checkout@v3
Expand All @@ -25,8 +25,12 @@ jobs:
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-replica-set: rs1
# - run: mongodb --eval "db.serverStatus()"
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

- name: Install Rust stable
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: Install Rust
run: rustup update stable
- uses: Swatinem/rust-cache@v2
- name: test mscheduler all features
run: cargo test --all-features

0 comments on commit 5361aa1

Please sign in to comment.