Skip to content

Commit 604489b

Browse files
committed
update github actions
Signed-off-by: Thijs Baaijen <[email protected]>
1 parent 8652f9f commit 604489b

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

.github/workflows/build-test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
- name: Install built wheel file
105105
run: uv pip install power-grid-model-ds[dev]==${{ needs.build-python.outputs.version }} --find-links=dist
106106

107-
- name: Run Code Quality Checks & Tests
107+
- name: Run All Code Quality Checks & Tests
108108
run: poe all --check
109109

110110

.github/workflows/check-code-quality.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,36 @@ jobs:
3535
enable-cache: true
3636

3737
- name: install poe
38+
if: ${{ always() }}
3839
run: uv tool install poethepoet
3940

4041
- name: Install dependencies
4142
if: ${{ always() }}
4243
run: uv sync --dev
4344

4445
- name: Update dependencies
45-
if: ${{ inputs.update_dependencies }}
46+
if: ${{ inputs.update_dependencies && always() }}
4647
run: uv update
4748

48-
- name: Run Code Quality Checks & Tests
49-
run: poe all --check
49+
- name: lint
50+
if: ${{ always() }}
51+
run: poe lint --check
52+
- name: format
53+
if: ${{ always() }}
54+
run: poe format --check
55+
- name: lock
56+
if: ${{ always() }}
57+
run: poe lock
58+
- name: type
59+
if: ${{ always() }}
60+
run: poe type
61+
- name: cover
62+
if: ${{ always() }}
63+
run: poe cover
64+
- name: report
65+
if: ${{ always() }}
66+
run: poe report
67+
68+
- name: Actually stop now if any quality control failed
69+
if: ${{ failure() }}
70+
run: exit 1

0 commit comments

Comments
 (0)