From f89b491f29d8d4ebb1c4283fe6c302e9066b94ee Mon Sep 17 00:00:00 2001 From: jtnunley Date: Fri, 24 Mar 2023 04:01:27 -0700 Subject: [PATCH] Add async-executor test to the CI --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04582fb..7a9e091 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,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