-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
test - add bash script tests to CI #54
Conversation
What do you think about putting this in an |
I find the |
I guess that's a better description? 🤷
I'm open to whatever. Could be a subfolder that contains all the tests, or test.sh can be put in the root etc. |
Personally prefer separating the e2e tests and putting them in one folder 🤷 |
e2e/write_source_files_gitignored.sh
Outdated
#!/bin/bash | ||
|
||
set -e | ||
|
||
bazel run //lib/tests/write_source_files:write_dist | ||
exit 1 |
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.
Why _gitignored
in the filename?
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.
That test is for writing files to a file that is gitignored and not controlled by bazel. The exit
was me playing around making sure CI fails correctly
fcb4afd
to
7da1249
Compare
Updated... the Determining which files are executable seems to be a pita and differs per platform (mac is different then our ubuntu ci) so I'm doing |
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.
LGTM
You can see an example with 2 tests running in the other PR: https://github.com/aspect-build/bazel-lib/runs/5763137160 |
No description provided.