diff --git a/.cargo/config.toml b/.cargo/config.toml index a1bc5198..2ac21485 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -18,6 +18,11 @@ ci-test = " hack --feature-powerset --exclude=actix-rt --exclude=actix-ser ci-test-rt = " hack --feature-powerset --exclude-features=io-uring test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture" ci-test-server = "hack --feature-powerset --exclude-features=io-uring test --package=actix-server --lib --tests --no-fail-fast -- --nocapture" +# tests avoiding io-uring feature on Windows +ci-test-win = " hack --feature-powerset --depth 2 --exclude=actix-rt --exclude=actix-server --exclude-features=io-uring test --workspace --lib --tests --no-fail-fast -- --nocapture" +ci-test-rt-win = " hack --feature-powerset --depth 2 --exclude-features=io-uring test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture" +ci-test-server-win = "hack --feature-powerset --depth 2 --exclude-features=io-uring test --package=actix-server --lib --tests --no-fail-fast -- --nocapture" + # test with io-uring feature ci-test-rt-linux = " hack --feature-powerset test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture" ci-test-server-linux = "hack --feature-powerset test --package=actix-server --lib --tests --no-fail-fast -- --nocapture" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e87c4205..7b2343f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,13 +109,19 @@ jobs: with: { command: ci-check-linux } - name: tests - if: > - matrix.target.os != 'ubuntu-latest' - && matrix.target.triple != 'x86_64-pc-windows-gnu' + if: matrix.target.os == 'macos-latest' run: | cargo ci-test cargo ci-test-rt cargo ci-test-server + - name: tests + if: > + matrix.target.os == 'windows-latest' + && matrix.target.triple != 'x86_64-pc-windows-gnu' + run: | + cargo ci-test-win + cargo ci-test-rt-win + cargo ci-test-server-win - name: tests if: matrix.target.os == 'ubuntu-latest' run: |