fix: clean up .beads directory before Nix Flake test
The Nix Flake CI test was failing because the repository has an existing .beads/issues.jsonl file checked in, which caused bd init to refuse to initialize (detecting it as a fresh clone with existing data). Solution: Remove .beads before running bd init in the test to start fresh.
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -101,6 +101,7 @@ jobs:
|
||||
run: |
|
||||
export BEADS_DB="$PWD/.ci-beads/beads.db"
|
||||
mkdir -p "$(dirname "$BEADS_DB")"
|
||||
rm -rf .beads
|
||||
nix run .#default -- --db "$BEADS_DB" init --quiet --prefix ci
|
||||
nix run .#default -- --db "$BEADS_DB" > help.txt
|
||||
- name: Verify help text
|
||||
|
||||
Reference in New Issue
Block a user