Skip to content

Commit 1cb87c3

Browse files
authored
old py, java, spotbugs plugins fix (#29008)
1 parent 574255a commit 1cb87c3

81 files changed

Lines changed: 419 additions & 65 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/beam_PerformanceTests_WordCountIT_PythonVersions.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,10 @@ jobs:
100100
arguments: |
101101
--info \
102102
-Ptest=apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_it \
103-
"-Ptest-pipeline-options=${{ env.beam_PerformanceTests_WordCountIT_PythonVersions_test_arguments_1 }}"
103+
"-Ptest-pipeline-options=${{ env.beam_PerformanceTests_WordCountIT_PythonVersions_test_arguments_1 }}"
104+
- name: Archive code coverage results
105+
uses: actions/upload-artifact@v3
106+
if: always()
107+
with:
108+
name: python-code-coverage-report
109+
path: "**/pytest*.xml"

.github/workflows/beam_PostCommit_Java_Examples_Dataflow_V2.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,6 @@ jobs:
8484
uses: EnricoMi/publish-unit-test-result-action@v2
8585
if: always()
8686
with:
87+
commit: '${{ env.prsha || env.GITHUB_SHA }}'
88+
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
8789
files: '**/build/test-results/**/*.xml'

.github/workflows/beam_PostCommit_Java_Examples_Dataflow_V2_Java.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,6 @@ jobs:
9898
uses: EnricoMi/publish-unit-test-result-action@v2
9999
if: always()
100100
with:
101+
commit: '${{ env.prsha || env.GITHUB_SHA }}'
102+
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
101103
files: '**/build/test-results/**/*.xml'

.github/workflows/beam_PostCommit_Java_PVR_Flink_Streaming.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,16 @@ jobs:
7373
uses: ./.github/actions/gradle-command-self-hosted-action
7474
with:
7575
gradle-command: runners:flink:1.15:job-server:validatesPortableRunnerStreaming
76+
- name: Archive JUnit Test Results
77+
uses: actions/upload-artifact@v3
78+
if: failure()
79+
with:
80+
name: JUnit Test Results
81+
path: "**/build/reports/tests/"
82+
- name: Publish JUnit Test Results
83+
uses: EnricoMi/publish-unit-test-result-action@v2
84+
if: always()
85+
with:
86+
commit: '${{ env.prsha || env.GITHUB_SHA }}'
87+
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
88+
files: '**/build/test-results/**/*.xml'

.github/workflows/beam_PostCommit_Java_PVR_Samza.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,6 @@ jobs:
8585
uses: EnricoMi/publish-unit-test-result-action@v2
8686
if: always()
8787
with:
88+
commit: '${{ env.prsha || env.GITHUB_SHA }}'
89+
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
8890
files: '**/build/test-results/**/*.xml'

.github/workflows/beam_PostCommit_Java_PVR_Spark3_Streaming.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,6 @@ jobs:
8383
uses: EnricoMi/publish-unit-test-result-action@v2
8484
if: always()
8585
with:
86-
files: '**/build/test-results/**/*.xml'
86+
commit: '${{ env.prsha || env.GITHUB_SHA }}'
87+
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
88+
files: '**/build/test-results/**/*.xml'

.github/workflows/beam_PostCommit_Java_PVR_Spark_Batch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ jobs:
9696
uses: actions/upload-artifact@v3
9797
with:
9898
name: SpotBugs Results
99-
path: "**/build/reports/spotbugs/*.html"
99+
path: "**/build/reports/spotbugs/*.html"

.github/workflows/beam_PostCommit_PortableJar_Flink.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
-PpythonVersion=3.8 \
8282
- name: Archive code coverage results
8383
uses: actions/upload-artifact@v3
84+
if: always()
8485
with:
8586
name: python-code-coverage-report
8687
path: "**/pytest*.xml"

.github/workflows/beam_PostCommit_PortableJar_Spark.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
-PpythonVersion=3.8 \
8282
- name: Archive code coverage results
8383
uses: actions/upload-artifact@v3
84+
if: always()
8485
with:
8586
name: python-code-coverage-report
8687
path: "**/pytest*.xml"

.github/workflows/beam_PostCommit_Python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ jobs:
9696
CLOUDSDK_CONFIG: ${{ env.KUBELET_GCLOUD_CONFIG_PATH}}
9797
- name: Archive code coverage results
9898
uses: actions/upload-artifact@v3
99+
if: always()
99100
with:
100101
name: python-code-coverage-report
101102
path: "**/pytest*.xml"

0 commit comments

Comments
 (0)