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

Enable Enso asserts on CI #7929

Merged
merged 7 commits into from
Oct 4, 2023
Merged

Conversation

Akirathan
Copy link
Member

@Akirathan Akirathan commented Sep 29, 2023

Follow up of #7883

Pull Request Description

Enable Enso asserts (Runtime.assert) on the CI by default. Even if JVM assertions are disabled.

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed, the GUI was tested when built using ./run ide build.

@Akirathan Akirathan self-assigned this Sep 29, 2023
@Akirathan Akirathan mentioned this pull request Sep 29, 2023
5 tasks
build/build/src/enso.rs Outdated Show resolved Hide resolved
@Akirathan Akirathan added the CI: No changelog needed Do not require a changelog entry for this PR. label Oct 2, 2023
@Akirathan Akirathan force-pushed the wip/akirathan/Enable-Enso-asserts branch from 6de74e6 to 6bd9b4c Compare October 2, 2023 12:14
@Akirathan Akirathan marked this pull request as ready for review October 2, 2023 12:15
@Akirathan Akirathan force-pushed the wip/akirathan/Enable-Enso-asserts branch from 6bd9b4c to 824c368 Compare October 2, 2023 12:16
ret = Runtime.assert js_check
ret . should_be Nothing

Test.specify "should be able to take lambdas as expressions" <|
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe also an assertion failure test?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

It's very basic, but there are many other tests in engine.

@Akirathan Akirathan added the CI: Keep up to date Automatically update this PR to the latest develop. label Oct 4, 2023
@Akirathan Akirathan added CI: Clean build required CI runners will be cleaned before and after this PR is built. and removed CI: Keep up to date Automatically update this PR to the latest develop. labels Oct 4, 2023
@Akirathan Akirathan merged commit c525698 into develop Oct 4, 2023
34 of 35 checks passed
@Akirathan Akirathan deleted the wip/akirathan/Enable-Enso-asserts branch October 4, 2023 13:52
@enso-bot
Copy link

enso-bot bot commented Oct 4, 2023

Pavel Marek reports a new STANDUP for today (2023-10-04):

Progress: - Merged Runtime.assert asserts and they are enabled by default on the CI. It should be finished by 2023-10-04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Clean build required CI runners will be cleaned before and after this PR is built. CI: No changelog needed Do not require a changelog entry for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants