-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: fix failing tests #1248
ci: fix failing tests #1248
Conversation
Deploying devenv with Cloudflare Pages
|
5318690
to
1577956
Compare
thinking about it some more, the |
Alright, I'm out of steam. The last two failures are on macOS.
|
devenv-run-tests/src/main.rs
Outdated
.args(devenv_override) | ||
.args(overrides.clone()) | ||
.arg("shell") | ||
.arg("./.setup.sh") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is the same as enterShell
, but it's not racy so that's why it works better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactly. The problem we have now is that this sets things up in .devenv
, but then devenv test
uses a temporary directory. We can work around this by librarifying devenv and setting up our own temp dir.
Needs #1263. |
7bf30ec
to
a35e90e
Compare
Bind the collector to localhost to avoid triggering the firewall on macOS.
- Fix `devenv search` pattern matching - Skip container tests on macOS. Not supported at the moment.
Use `.patch.sh` to run setup before the shell is launched. This is useful to create or patch devenv.nix files. `.setup.sh` now runs inside the shell to allow access to packages. This mimics running commands manually as the user.
Fixed examples:
won't launch onmacos-13
. firewall issue? Tried disabling firewall, still nada.the readiness_probe on clickhouse is broken on macos13. curl-ing against the http port works. Only happens in GHA 🤷
clickhouse-client
works as expected.odin
needs nixpkgs bump for darwin fixes.unison-ucm
doesn't have aarch64-linux builds.Fixed languages:
gdb
andols
optional depending on system.Broken tests:
devenv-test-cli
devenv test
tests/mysql
fails on macosOther changes:
.setup.sh
to run inside the devenv shell. This helps test manual user setup, like initializing a project and installing dependencies..patch.sh
script support indevenv-run-tests
. This runs outside of the shell, before.setup.sh
. This should be used to patch files, likedevenv.nix
.example.com
withlocalhost
.