diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 2933308..fdafc97 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -29,18 +29,18 @@ jobs: - name: Check Cargo availability run: cargo --version - name: Run core tests (default features) - run: cargo test --verbose -p distant-core + run: cargo test --release --verbose -p distant-core - name: Run core tests (all features) - run: cargo test --verbose --all-features -p distant-core + run: cargo test --release --verbose --all-features -p distant-core - name: Ensure /run/sshd exists on Unix run: mkdir -p /run/sshd - name: Run ssh2 tests (default features) - run: cargo test --verbose -p distant-ssh2 + run: cargo test --release --verbose -p distant-ssh2 - name: Run ssh2 tests (all features) - run: cargo test --verbose --all-features -p distant-ssh2 + run: cargo test --release --verbose --all-features -p distant-ssh2 - name: Run CLI tests - run: cargo test --verbose + run: cargo test --release --verbose shell: bash - name: Run CLI tests (no default features) - run: cargo test --verbose --no-default-features + run: cargo test --release --verbose --no-default-features shell: bash diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index 4873e0a..7ac59be 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -28,16 +28,16 @@ jobs: - name: Check Cargo availability run: cargo --version - name: Run core tests (default features) - run: cargo test --verbose -p distant-core + run: cargo test --release --verbose -p distant-core - name: Run core tests (all features) - run: cargo test --verbose --all-features -p distant-core + run: cargo test --release --verbose --all-features -p distant-core - name: Run ssh2 tests (default features) - run: cargo test --verbose -p distant-ssh2 + run: cargo test --release --verbose -p distant-ssh2 - name: Run ssh2 tests (all features) - run: cargo test --verbose --all-features -p distant-ssh2 + run: cargo test --release --verbose --all-features -p distant-ssh2 - name: Run CLI tests - run: cargo test --verbose + run: cargo test --release --verbose shell: bash - name: Run CLI tests (no default features) - run: cargo test --verbose --no-default-features + run: cargo test --release --verbose --no-default-features shell: bash diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index d327d6c..7be36cc 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -30,16 +30,16 @@ jobs: run: cargo --version - uses: Vampire/setup-wsl@v1 - name: Run distant-core tests (default features) - run: cargo test --verbose -p distant-core + run: cargo test --release --verbose -p distant-core - name: Run distant-core tests (all features) - run: cargo test --verbose --all-features -p distant-core + run: cargo test --release --verbose --all-features -p distant-core - name: Build distant-ssh2 (default features) - run: cargo build --verbose -p distant-ssh2 + run: cargo build --release --verbose -p distant-ssh2 - name: Build distant-ssh2 (all features) - run: cargo build --verbose --all-features -p distant-ssh2 + run: cargo build --release --verbose --all-features -p distant-ssh2 - name: Build CLI - run: cargo build --verbose + run: cargo build --release --verbose shell: bash - name: Build CLI (no default features) - run: cargo build --verbose --no-default-features + run: cargo build --release --verbose --no-default-features shell: bash