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: Improved behavioral consistency between the database services #673

Merged
merged 71 commits into from
Oct 9, 2024

Conversation

BobdenOs
Copy link
Contributor

@BobdenOs BobdenOs commented Jun 3, 2024

This PR contains a few fixes that where required to make the new compliance tests to pass:

  • Decimal precision behavior is aligned between the databases when defined
  • @cap-js/hana now properly supports scalar SELECT queries in the columns

The goal of this PR is to remove as much dependencies as possible now that cds@8 provides the cds-test command.

  • Removing jest by switching to cds-test
  • Removed jest.config.js files
  • Removing chai by switching to cds-test
  • Adjust all tests to fit with the cds-test expect pattern
  • Removing HANA test action
  • Move HXE Github action steps into a reuse file
  • Added a lock for HANA database creation
  • Added a fallback for Postgres during database creation
  • Removed compliance import tests
  • Added symbolic link to the compliance test folder

@BobdenOs BobdenOs added the next release pr to be checked for next release label Jun 14, 2024
@BobdenOs BobdenOs requested a review from sjvans as a code owner July 15, 2024 13:46
@BobdenOs BobdenOs changed the title chore: Clean dependencies fix: Improved behavioral consistency between the database services Oct 9, 2024
@johannes-vogel johannes-vogel merged commit 5e62096 into main Oct 9, 2024
5 checks passed
@johannes-vogel johannes-vogel deleted the clean-dependencies branch October 9, 2024 14:00
danjoa added a commit that referenced this pull request Oct 10, 2024
BobdenOs pushed a commit that referenced this pull request Oct 10, 2024
Reverts #673 
This reverts commit 5e62096.
@cap-bots cap-bots mentioned this pull request Oct 10, 2024
BobdenOs added a commit that referenced this pull request Oct 10, 2024
)

This PR contains a few fixes that where required to make the new
compliance tests to pass:
- Decimal precision behavior is aligned between the databases when
defined
- `@cap-js/hana` now properly supports scalar `SELECT` queries in the
columns

The goal of this PR is to remove as much dependencies as possible now
that `cds@8` provides the `cds-test` command.

- Removing `jest` by switching to `cds-test`
- Removed `jest.config.js` files
- Removing `chai` by switching to `cds-test`
- Adjust all tests to fit with the `cds-test` `expect` pattern
- Removing `HANA` test action
- Move `HXE` Github action steps into a reuse file
- Added a lock for `HANA` database creation
- Added a fallback for `Postgres` during database creation
- Removed compliance import tests
- Added symbolic link to the compliance test folder

---------

Co-authored-by: Daniel Hutzel <[email protected]>
Co-authored-by: Johannes Vogel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release pr to be checked for next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants