Adjust Horizon-QA check to depend on server error test (#70)

This commit is contained in:
Worive 2026-06-07 18:33:30 +02:00 committed by GitHub
parent 20b8e81097
commit 2c3a2c1ff9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,19 +215,20 @@ jobs:
chmod +x .gtnh-workflows/scripts/summarize_horizonqa_result chmod +x .gtnh-workflows/scripts/summarize_horizonqa_result
.gtnh-workflows/scripts/summarize_horizonqa_result .gtnh-workflows/scripts/summarize_horizonqa_result
- name: Test Horizon-QA result
if: ${{ always() && !inputs.client-only && inputs.horizonqa && steps.run_server.conclusion != 'skipped' }}
shell: bash
run: |
chmod +x .gtnh-workflows/scripts/test_horizonqa_result
.gtnh-workflows/scripts/test_horizonqa_result
- name: Test no errors reported during server run - name: Test no errors reported during server run
id: server_errors
if: ${{ !inputs.client-only }} if: ${{ !inputs.client-only }}
run: | run: |
chmod +x .gtnh-workflows/scripts/test_no_error_reports chmod +x .gtnh-workflows/scripts/test_no_error_reports
.gtnh-workflows/scripts/test_no_error_reports .gtnh-workflows/scripts/test_no_error_reports
- name: Test Horizon-QA result
if: ${{ always() && !inputs.client-only && inputs.horizonqa && steps.run_server.conclusion != 'skipped' && steps.server_errors.conclusion == 'success' }}
shell: bash
run: |
chmod +x .gtnh-workflows/scripts/test_horizonqa_result
.gtnh-workflows/scripts/test_horizonqa_result
- name: Test no prerelease dependencies used - name: Test no prerelease dependencies used
run: | run: |
! grep -P -- "-pre(?!shadow)" dependencies.gradle* ! grep -P -- "-pre(?!shadow)" dependencies.gradle*