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

feat: [#289] Remove github.com/ory/dockertest #334

Merged
merged 22 commits into from
Nov 15, 2023

Conversation

hwbrzzl
Copy link
Contributor

@hwbrzzl hwbrzzl commented Nov 4, 2023

Closes goravel/goravel#289 goravel/goravel#261

πŸ“‘ Description

βœ… Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

β„Ή Additional Information

Copy link

codecov bot commented Nov 4, 2023

Codecov Report

Attention: 160 lines in your changes are missing coverage. Please review.

Comparison is base (376f1d9) 69.31% compared to head (b3031a2) 69.08%.
Report is 1 commits behind head on master.

Files Patch % Lines
support/docker/database.go 29.41% 24 Missing and 12 partials ⚠️
support/docker/mysql.go 73.33% 16 Missing and 8 partials ⚠️
support/docker/sqlserver.go 73.03% 16 Missing and 8 partials ⚠️
support/docker/postgresql.go 73.07% 14 Missing and 7 partials ⚠️
database/gorm/test_utils.go 85.10% 14 Missing ⚠️
support/docker/sqlite.go 62.50% 8 Missing and 4 partials ⚠️
support/docker/redis.go 73.17% 8 Missing and 3 partials ⚠️
support/docker/utils.go 82.35% 6 Missing and 3 partials ⚠️
testing/docker/database.go 68.96% 6 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #334      +/-   ##
==========================================
- Coverage   69.31%   69.08%   -0.23%     
==========================================
  Files         144      147       +3     
  Lines        9724     9922     +198     
==========================================
+ Hits         6740     6855     +115     
- Misses       2550     2598      +48     
- Partials      434      469      +35     

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@hwbrzzl hwbrzzl closed this Nov 13, 2023
@hwbrzzl hwbrzzl reopened this Nov 13, 2023
@hwbrzzl hwbrzzl marked this pull request as ready for review November 14, 2023 14:51
@hwbrzzl hwbrzzl requested a review from a team November 14, 2023 14:51
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The database docker only needs to be created once, the testing speed will be faster.

query ormcontract.Query
)

if err := testDatabaseDocker.Fresh(); err != nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fresh the database, and clear data from other test cases.

devhaozi
devhaozi previously approved these changes Nov 15, 2023
Copy link
Member

@devhaozi devhaozi left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 7 to 8

"github.com/go-redis/redis/v8"
Copy link
Member

@devhaozi devhaozi Nov 15, 2023

Choose a reason for hiding this comment

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

Q: Can we use v9? v8 is out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, will upgrade.

Copy link
Member

@devhaozi devhaozi left a comment

Choose a reason for hiding this comment

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

LGTM

@hwbrzzl hwbrzzl merged commit b3de65f into master Nov 15, 2023
10 of 11 checks passed
@hwbrzzl hwbrzzl deleted the bowen/#289-1 branch November 15, 2023 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants