Add async-executor test to the CI (#44)

This commit is contained in:
John Nunley 2023-03-24 12:27:11 +01:00 committed by GitHub
parent 00581f524e
commit 194e7a56ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -47,6 +47,14 @@ jobs:
run: cargo test -- --test-threads=1
env:
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: valgrind --error-exitcode=1 --leak-check=full --show-leak-kinds=all
- name: Clone async-executor
run: git clone https://github.com/smol-rs/async-executor.git
- name: Add patch section
run: |
echo '[patch.crates-io]' >> async-executor/Cargo.toml
echo 'async-task = { path = ".." }' >> async-executor/Cargo.toml
- name: Test async-executor
run: cargo test --manifest-path async-executor/Cargo.toml
msrv:
runs-on: ubuntu-latest