Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Run tests on Windows CI (without shell-integration-tests) (#141)

Maximilian Roos7f40b5137994
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 637ebd132..9eaf89cf2 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -76,8 +76,6 @@ jobs:
# This installs from crates.io, not from the PR code. Pre-merge hooks
# run against the published version, testing the hook configuration.
- # Skip on Windows: shell integration tests require bash/zsh/fish support
- # that isn't fully available on Windows runners.
- name: Install wt
if: runner.os != 'Windows'
uses: baptiste0928/cargo-install@v3
@@ -88,6 +86,18 @@ jobs:
if: runner.os != 'Windows'
run: wt hook pre-merge --force
+ # Windows: Run tests directly (wt hook pre-merge uses bash syntax).
+ # Same test command as wt.toml pre-merge config.
+ - name: 🧪 Tests (Windows)
+ if: runner.os == 'Windows'
+ run: |
+ cargo insta test --dnd --check --features shell-integration-tests
+ cargo test --doc
+ env:
+ RUSTFLAGS: '-D warnings'
+ NEXTEST_STATUS_LEVEL: fail
+ NEXTEST_SUCCESS_OUTPUT: never
+
check-links:
runs-on: ubuntu-latest
steps: