Skip to content

Commit 508a617

Browse files
Thomas FinkThomas Fink
Thomas Fink
authored and
Thomas Fink
committed
clean(ZMS): change workflow
1 parent 234686c commit 508a617

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/combined-workflow.yaml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ jobs:
99
call-php-unit-tests:
1010
uses: ./.github/workflows/php-unit-tests.yaml
1111

12-
check-and-proceed:
13-
needs: [call-php-code-quality, call-php-unit-tests]
14-
runs-on: ubuntu-latest
15-
if: |
16-
always() &&
17-
needs.call-php-code-quality.result == 'success' &&
18-
needs.call-php-unit-tests.outputs.module-test-result == 'success' &&
19-
needs.call-php-unit-tests.outputs.zmsapi-test-result == 'success' &&
20-
needs.call-php-unit-tests.outputs.zmsdb-test-result == 'success' &&
21-
needs.call-php-unit-tests.outputs.zmsclient-test-result == 'success'
22-
steps:
23-
- run: echo "All required checks passed"
24-
2512
combine-php-test-coverage:
2613
needs: [call-php-unit-tests]
2714
runs-on: ubuntu-latest
@@ -32,7 +19,7 @@ jobs:
3219
ls -la all-coverage/ || echo "all-coverage directory not found"
3320
3421
- name: Download all coverage reports
35-
uses: actions/download-artifact@v4
22+
uses: actions/upload-artifact@v4
3623
with:
3724
path: all-coverage
3825
merge-multiple: true
@@ -41,8 +28,9 @@ jobs:
4128
run: |
4229
echo "Downloaded artifacts:"
4330
ls -la all-coverage/
31+
4432
call-php-build-images:
45-
needs: check-and-proceed
33+
needs: [call-php-code-quality, call-php-unit-tests]
4634
if: |
4735
always() &&
4836
needs.call-php-unit-tests.outputs.module-test-result == 'success' &&

0 commit comments

Comments
 (0)