Skip to content

Run a predefined set of tests from core to ensure integration - #91

Merged
evgeni merged 1 commit into
v1from
access_permissions_test
Jul 21, 2026
Merged

Run a predefined set of tests from core to ensure integration#91
evgeni merged 1 commit into
v1from
access_permissions_test

Conversation

@evgeni

@evgeni evgeni commented Jun 10, 2026

Copy link
Copy Markdown
Member

No description provided.

@nadjaheitmann

Copy link
Copy Markdown

Pipeline is green, I guess this is good somehow :)

@nadjaheitmann

Copy link
Copy Markdown

if: ${{ contains(matrix.task, 'nulldb') }}
- name: Run rake ${{ matrix.task }}
run: bundle exec rake ${{ matrix.task }}
- name: Run extra core tests

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

As it is only one test, I would prefer to name it explicitly

Suggested change
- name: Run extra core tests
- name: Run access_permissions test from Foreman core

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Is this still valid, given we're aiming for rake test:core_tests as the default?

@nadjaheitmann

Copy link
Copy Markdown

@evgeni Any plans to continue with this?

@evgeni
evgeni marked this pull request as ready for review June 26, 2026 08:55
@evgeni

evgeni commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

Yes and no.

I still think this is the wrong place to define what needs to be added from core (as IMHO core should be dictating it).
But at the same time I see no good way to make core do so, and the update to the plugin template won't help with existing plugins not updating.

I'll post a RFC to the forum and merge this if noone comes up with a better solution.

@evgeni

evgeni commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

@evgeni
evgeni force-pushed the access_permissions_test branch from 968589d to e512846 Compare July 21, 2026 07:20
@evgeni evgeni changed the title always execute access_permissions_test from Foreman core Run a predefined set of tests from core to ensure integration Jul 21, 2026
@evgeni

evgeni commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

And here is the core implementation for 5.0+: theforeman/foreman#11112

@evgeni
evgeni merged commit 613c662 into v1 Jul 21, 2026
21 checks passed
@evgeni
evgeni deleted the access_permissions_test branch July 21, 2026 11:22
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