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

GHA: Modularize actions (apt dependencies, sonar tools) #2197

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Nov 15, 2023

DRY, use composite actions. More readable + more maintainable.

Copy link

codecov bot commented Nov 15, 2023

Codecov Report

Merging #2197 (9b227a8) into develop (eccdc1f) will decrease coverage by 0.01%.
Report is 1 commits behind head on develop.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2197      +/-   ##
===========================================
- Coverage    76.61%   76.60%   -0.01%     
===========================================
  Files           82       82              
  Lines        15008    15008              
===========================================
- Hits         11498    11497       -1     
- Misses        3510     3511       +1     
Flag Coverage Δ
cpp 73.53% <ø> (-0.02%) ⬇️
petab 53.82% <ø> (ø)
python 77.15% <ø> (ø)
sbmlsuite ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

@dweindl dweindl changed the title GHA: Test composite actions GHA: Modularize actions Nov 15, 2023
@dweindl dweindl marked this pull request as ready for review November 15, 2023 18:32
@dweindl dweindl requested a review from a team as a code owner November 15, 2023 18:32
@dweindl dweindl changed the title GHA: Modularize actions GHA: Modularize actions (apt dependencies, sonar tools) Nov 15, 2023
@dweindl dweindl enabled auto-merge November 15, 2023 20:35
Copy link
Member

@FFroehlich FFroehlich left a comment

Choose a reason for hiding this comment

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

Nice!

# install amici dependencies
- name: Install apt dependencies
uses: ./.github/actions/install-apt-dependencies

- name: apt
run: |
sudo apt-get update \
Copy link
Member

Choose a reason for hiding this comment

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

Skip the update here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Takes only about 1s to run it a second time, I'd leave it here to keep it's safer to shuffle those steps around.

@dweindl dweindl added this pull request to the merge queue Nov 16, 2023
Merged via the queue into develop with commit 17f85fb Nov 16, 2023
23 of 25 checks passed
@dweindl dweindl deleted the test_gha_composite branch November 16, 2023 08:53
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.

2 participants