Skip to content
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

fix(main): Forward bash exit code in amber CLI executable #205

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

klausi
Copy link
Contributor

@klausi klausi commented Jun 16, 2024

Fixes #204

I introduced a new CLI test category to do end-to-end tests on the amber binary.

Do you like it?

Sorry for all the formatting, I have Rust auto-format enabled on save according to rustfmt.

@klausi
Copy link
Contributor Author

klausi commented Jun 16, 2024

Hm, not sure why Github actions don't pick up my changes to the rust.yml file. Looks like the new CLI tests were not executed.

Copy link
Member

@Ph0enixKM Ph0enixKM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for also enabling all tests in the workflow. This closes also another issue #165!

@Ph0enixKM Ph0enixKM requested review from arapower and b1ek June 16, 2024 19:42
@Ph0enixKM Ph0enixKM linked an issue Jun 16, 2024 that may be closed by this pull request
@Ph0enixKM
Copy link
Member

Ph0enixKM commented Jun 16, 2024

Hm, not sure why Github actions don't pick up my changes to the rust.yml file. Looks like the new CLI tests were not executed.

The tests in the workflow will probably be applied once merged to master. This looks like a bug to me

@Ph0enixKM
Copy link
Member

I've tested the code on my local machine and all tests have passed

Copy link
Member

@b1ek b1ek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@b1ek b1ek merged commit aabc712 into amber-lang:master Jun 17, 2024
2 checks passed
@klausi
Copy link
Contributor Author

klausi commented Jun 17, 2024

Nice, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants