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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore a working CI with GHA #96

Merged
merged 6 commits into from
Jan 8, 2023
Merged

Conversation

rsosag
Copy link
Collaborator

@rsosag rsosag commented Jan 4, 2023

Purpose

Restoring the CI with GHA before adding support to mongoid v8. For more context see the issue #94

Changes

  • Change the syntax of using the change method.
  • Disable the Code Climate step (you must supply a CC_TEST_REPORTER_ID ENV variable or pass it via the -r flag).
  • Refactor the query to get locked and unlocked documents.
  • Fix typo in specs.

TODO

The experimental cases of the matrix still fail, the reason seems to be that the version 7 of mongoid/i18n doesn't support ruby 3 馃憞馃徏
https://github.com/rsosag/mongoid-locker/actions/runs/3834210130

@dblock
Copy link
Collaborator

dblock commented Jan 6, 2023

Btw, in mongoid/mongoid-grid_fs#81 I have a much more sane implementation for a test matrix that doesn't explode. For another PR if you feel like it.

.github/workflows/test.yml Outdated Show resolved Hide resolved
@rsosag rsosag requested a review from dblock January 6, 2023 22:11
@dblock
Copy link
Collaborator

dblock commented Jan 8, 2023

LGTM!

@dblock dblock merged commit ae966c5 into mongoid:master Jan 8, 2023
rsosag added a commit to rsosag/mongoid-locker that referenced this pull request Jan 9, 2023
Restore a working CI with GHA (mongoid#96)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants