Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2868 +/- ##
==========================================
- Coverage 79.05% 78.69% -0.36%
==========================================
Files 248 248
Lines 51276 51276
Branches 4431 4431
==========================================
- Hits 40534 40351 -183
- Misses 9932 10102 +170
- Partials 810 823 +13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1ac1672 to
74a1f49
Compare
| uid: | ||
| description: "Unique identifier output from docker-build action" | ||
| required: true | ||
| tag: |
There was a problem hiding this comment.
I pass both uid and tag everywhere, should these be combined into a single output from build and single input for clean and run? A unique_tag?
| required: true | ||
| command: | ||
| description: "Command to execute inside of the docker container" | ||
| required: true |
There was a problem hiding this comment.
A limitation of this approach is that only one command can be run in a container at once, making the workflows a little verbose in some places.
fd7bcda to
2b457f6
Compare
| OMP_NUM_THREADS: 2 | ||
|
|
||
| strategy: | ||
| # Prevent all build to stop if a single one fails |
There was a problem hiding this comment.
Might as well correct grammar on this comment
There was a problem hiding this comment.
All your base are belong to us
There was a problem hiding this comment.
Showing your advanced age there...
ae9f243 to
5835ad4
Compare
mloubout
left a comment
There was a problem hiding this comment.
Looks great, thanks a lot!!
Left a bunch of generic comments that aren't strong change requests. Do those action files really need to be in three different directories? Why not just .github/actions/docker for all
| strategy: | ||
| # Prevent cancellation if a single workflow fails | ||
| fail-fast: false | ||
| matrix: |
There was a problem hiding this comment.
It's a single entry, can drop the matrix and just put the values where needed, e.g
tutorials-docker:
name: tutos-docker-gcc-py310
runs-on: $ubuntu-latest
and so on
There was a problem hiding this comment.
I agree, but I was also going to raise the possibility of testing with some newer compilers in the next dev meeting, so I left it like this to be extensible (and consistent)
| - id: build | ||
| name: Build docker image | ||
| uses: ./.github/actions/docker-build | ||
| with: | ||
| file: docker/Dockerfile.devito | ||
| tag: ${{ matrix.name }} | ||
| base: devitocodes/bases:cpu-${{ matrix.arch }} |
9d3406a to
1f75496
Compare
Sadly yes, you cannot use them otherwise 😞 |
1f75496 to
0a51941
Compare
Create composite actions for executing Docker things in workflows.
Makes stuff more consistent
The following workflows were renamed to be more descriptive/consistent:
Which needs updating in the repo settings