-
Notifications
You must be signed in to change notification settings - Fork 59
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
aegir test
is broken
#975
Labels
Comments
I guess we could remove the build step(s) from the test command and require all projects to have a |
@achingbrain I think that makes more sense, but we could fix the --build flag too? |
achingbrain
added a commit
that referenced
this issue
Jun 23, 2022
We run build before test but pass `--no-bundle` on the assumption that a project build command is `aegir build`. Passing `--no-bundle` skips making a minified build for a tiny speedup. If the project build command isn't `aegir build` this can break things so remove the optimisation. Also build by default before test and fix the problem whereby the build flag was being ignored for typescript projects. Fixes: #975
achingbrain
added a commit
that referenced
this issue
Jun 28, 2022
We run build before test but pass `--no-bundle` on the assumption that a project build command is `aegir build`. Passing `--no-bundle` skips making a minified build for a tiny speedup. If the project build command isn't `aegir build` this can break things so remove the optimisation. Also build by default before test (to support typescript) and fix the problem whereby the build flag was being ignored for typescript projects. Fixes: #975
🎉 This issue has been resolved in version 37.4.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running
aegir test
, it always attempts to build, but my project is set up to build prior to running test, so this results in duplicated builds.Additionally, it is passing an invalid flag,
--no-bundle
to my build command for some reasonTo Reproduce
Steps to reproduce the behavior:
aegir build
Without passing
--build
flagit should default to false, but it doesn't.
With
--build false
After updating build script to be "aegir build"
Expected behavior
aegir build
if we are not building...--build false
and-b false
and not callaegir build
if set to false.--if-present -- --no-bundle
. If a build is requested, either:npm run build
version.aegir build
.Screenshots
N/A
Desktop (please complete the following information):
Additional context
This change of functionality is not called out in https://github.com/ipfs/aegir/blob/master/md/migration-to-v37.md
The text was updated successfully, but these errors were encountered: