Skip to content

Conversation

@paulo-ferraz-oliveira
Copy link
Collaborator

@paulo-ferraz-oliveira paulo-ferraz-oliveira commented Jul 17, 2025

Description

We tweak Elvis, without changing its interface, to adapt to the most recent changes to elvis_core, at inaka/elvis_core#515.

  • ⚠️ I made sure to merge only after the linked elvis_core pull request resulted in a new version (it's possible until then we might need to keep implementing on top of this pull request, we'll see!)

Further considerations

I expect CI to fail at least at the very end, since we're using a branch in a rebar.config dep. and Elvis doesn't like it by default (or rather, per its configuration). ℹ️ as expected: https://github.com/inaka/elvis/actions/runs/16334784491/job/46144600609#step:8:13

Comment on lines 50 to 51
- shell: bash
run: rebar3 as test test
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Explained in commit message: test (the command) already runs in profile test, by default, so this is simply duplicating what is already done above.

Copy link
Member

Choose a reason for hiding this comment

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

Are you sure? I know that rebar3 ct uses the test profile by default, but test is a custom alias… how does rebar3 know that it has to run it on the test profile? 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You are right, it is not ct. Why would it be required to run test as test, though?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I reverted this change. Even if it takes a while longer, it's maybe not inocuous that it's there 😄

Comment on lines +28 to +29
[{elvis_core,
{git, "https://github.com/inaka/elvis_core.git", {branch, "fix/config-parse-validate"}}},
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

⚠️ we shouldn't merge until this is fixed (via releasing elvis_core's linked pull request)

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.

3 participants