Skip to content

Conversation

@malclocke
Copy link
Contributor

The bin/setup script installs the python .venv/ directory in the wrong parent directory ./internal/runner/testdata/cucumber, rather than the root directory of the project.

$ ./bin/setup
$ find . -name .venv
./internal/runner/testdata/cucumber/.venv

This subsequently causes one of the cucumber tests to fail because it finds unexpected files in the internal/runner/testdata/cucumber directory.

This change uses pushd and popd so it's not required to keep track of the pwd in the script.

The `bin/setup` script installs the python `.venv/` directory in the
wrong parent directory `./internal/runner/testdata/cucumber`, rather
than the root directory of the project.

```
$ ./bin/setup
$ find . -name .venv
./internal/runner/testdata/cucumber/.venv
```

This subsequently causes one of the cucumber tests to fail because it
finds unexpected files in the `internal/runner/testdata/cucumber`
directory.

This change uses `pushd` and `popd` so it's not required to keep track
of the pwd in the script.
@malclocke malclocke requested a review from a team as a code owner October 14, 2025 04:20
@malclocke malclocke merged commit 28c8898 into main Oct 14, 2025
1 check passed
@malclocke malclocke deleted the fix-venv-location branch October 14, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants