Skip to content

Enable installing dependencies before running tests#68

Merged
MaximilianSoerenPollak merged 3 commits intoeclipse-score:mainfrom
etas-contrib:feature/add-fakechroot-dependency
Mar 2, 2026
Merged

Enable installing dependencies before running tests#68
MaximilianSoerenPollak merged 3 commits intoeclipse-score:mainfrom
etas-contrib:feature/add-fakechroot-dependency

Conversation

@eelcoem
Copy link
Contributor

@eelcoem eelcoem commented Feb 25, 2026

Partially fixes eclipse-score/lifecycle#92

ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

- name: Install fakechroot
Copy link
Contributor

Choose a reason for hiding this comment

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

This workflow shall be removed imho, becasue we have coverage one that does the same.

Copy link
Contributor

Choose a reason for hiding this comment

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

Im not sure if calling ITF / python tests wont backfire when we call it with bazel coverage. I would say its not logical to use coverage for the tests other than unit.

Copy link
Contributor Author

@eelcoem eelcoem Feb 25, 2026

Choose a reason for hiding this comment

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

at least for pytest it shouldn't be a problem, I've modified the coverage.yml to also run the smoke test on my forked repo and it doesn't seem to affect coverage: https://github.com/eelcoem/lifecycle/actions/runs/22389849106/job/64808791033
Edit: Agree it is probably best to keep the tests workflow for clearer separation

ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

- name: Install fakechroot
Copy link
Contributor

Choose a reason for hiding this comment

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

Im not sure if calling ITF / python tests wont backfire when we call it with bazel coverage. I would say its not logical to use coverage for the tests other than unit.

- name: Install fakechroot
uses: eclipse-score/apt-install@main
with:
packages: fakechroot
Copy link
Contributor

Choose a reason for hiding this comment

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

not everyone needs this dependecy, make this step generic, allow user to provide a list of deps to install in input

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@eelcoem eelcoem changed the title Add fakechroot dependency Enable installing dependencies before running tests Feb 25, 2026
Copy link
Contributor

@PiotrKorkus PiotrKorkus left a comment

Choose a reason for hiding this comment

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

lgtm

@MaximilianSoerenPollak MaximilianSoerenPollak merged commit 347946d into eclipse-score:main Mar 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Failed smoke test in statistics dashboard

4 participants