Skip to content

Commit

Permalink
Merge pull request #104 from jflo/ghaPRAnnot
Browse files Browse the repository at this point in the history
Gha pr annot
  • Loading branch information
jflo authored Mar 13, 2024
2 parents efd1bc7 + d0082be commit fa2f998
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 27 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: acceptance-tests
on:
workflow_dispatch:
pull_request_target:
pull_request:
branches:
- main
- release-*
Expand Down Expand Up @@ -70,12 +70,6 @@ jobs:
with:
name: acceptance-node-${{matrix.runner_index}}-test-results
path: 'acceptance-tests/tests/build/test-results/**/TEST-*.xml'
- name: Publish Test Report
uses: mikepenz/action-junit-report@5f47764eec0e1c1f19f40c8e60a5ba47e47015c5
if: (success() || failure()) # always run even if the build step fails
with:
report_paths: 'acceptance-tests/tests/build/test-results/**/TEST-*.xml'
annotate_only: true
accepttests-passed:
name: "accepttests-passed"
runs-on: ubuntu-22.04
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: integration-tests
on:
workflow_dispatch:
pull_request_target:
pull_request:
branches:
- main
- release-*
Expand Down Expand Up @@ -36,11 +36,5 @@ jobs:
cache-disabled: true
- name: run integration tests
run: ./gradlew integrationTest compileJmh
- name: Publish Test Report
uses: mikepenz/action-junit-report@5f47764eec0e1c1f19f40c8e60a5ba47e47015c5
if: (success() || failure())
with:
report_paths: '**/build/test-results/integrationTest/TEST-*.xml'
annotate_only: true


19 changes: 13 additions & 6 deletions .github/workflows/pre-review.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: pre-review

on:
pull_request_target:
pull_request:
branches:
- main
- release-*
Expand Down Expand Up @@ -91,6 +91,14 @@ jobs:
- "ethereum:api:testRemainder"
- "ethereum:eth:test"
- "ethereum:core:test"
archive_name:
- "everythingElse"
- "consensusCrypto"
- "apiBonsai"
- "apiForest"
- "apiRemainder"
- "eth"
- "core"
steps:
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -108,12 +116,11 @@ jobs:
- name: run unit tests
id: unitTest
run: ./gradlew $GRADLEW_UNIT_TEST_ARGS
- name: Publish Test Report
uses: mikepenz/action-junit-report@5f47764eec0e1c1f19f40c8e60a5ba47e47015c5
if: success() || failure() # always run even if the build step fails
- name: Upload Acceptance Test Results
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
report_paths: '**/test-results/**/TEST-*.xml'
annotate_only: true
name: unit-${{matrix.archive_name}}-test-results
path: '**/test-results/**/TEST-*.xml'
unittests-passed:
name: "unittests-passed"
runs-on: ubuntu-22.04
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/reference-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: reference-tests
on:
workflow_dispatch:
pull_request_target:
pull_request:
branches:
- main
- release-*
Expand Down Expand Up @@ -62,12 +62,6 @@ jobs:
with:
name: reference-test-node-${{matrix.runner_index}}-results
path: '**/build/test-results/referenceTests/TEST-*.xml'
- name: Publish Test Report
uses: mikepenz/action-junit-report@5f47764eec0e1c1f19f40c8e60a5ba47e47015c5
if: success() || failure() # always run even if the build step fails
with:
report_paths: '**/build/test-results/referenceTests/TEST-*.xml'
annotate_only: true
reftests-passed:
name: "reftests-passed"
runs-on: ubuntu-22.04
Expand Down

0 comments on commit fa2f998

Please sign in to comment.