Skip to content

Commit 81ded0e

Browse files
Your Nameclaude
andcommitted
fix nix develop command syntax in CI workflow
Use bash -c to properly execute cargo test commands within nix develop. Previously, the quoted command string was treated as a single executable name instead of being parsed as a command with arguments. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent aa3a9c6 commit 81ded0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
cache-directories: "server"
2323

2424
- name: Run tests
25-
run: cd server && nix develop --command "cargo test -- --test-threads=1"
25+
run: cd server && nix develop --command bash -c "cargo test -- --test-threads=1"
2626

2727
- name: Run tests with output
28-
run: cd server && nix develop --command "cargo test -- --nocapture --test-threads=1"
28+
run: cd server && nix develop --command bash -c "cargo test -- --nocapture --test-threads=1"
2929
if: failure()

0 commit comments

Comments
 (0)