diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bfef7d125..2ba3f9915d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -297,11 +297,11 @@ jobs: - if: ${{ !contains(matrix.host_os, 'windows') }} run: | - mk/cargo.sh test -vv --all-targets --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }} + mk/cargo.sh test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }} - if: ${{ contains(matrix.host_os, 'windows') }} run: | - cargo test -vv --all-targets --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }} + cargo test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }} # --all-targets doesn't run doctests: https://github.com/rust-lang/cargo/issues/6669 # Run doctests only on x86_64 to avoid cross-compilation hassles with `--no-run`. @@ -408,11 +408,11 @@ jobs: - if: ${{ !contains(matrix.host_os, 'windows') }} run: | - mk/cargo.sh test -vv --all-targets --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }} + mk/cargo.sh test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }} - if: ${{ contains(matrix.host_os, 'windows') }} run: | - cargo test -vv --all-targets --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }} + cargo test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }} # --all-targets doesn't run doctests: https://github.com/rust-lang/cargo/issues/6669 # Run doctests only on x86_64 to avoid cross-compilation hassles with `--no-run`.