Skip to content

Commit 2918ad5

Browse files
committed
Rename download-junit-reports to checkout-junit-reports
1 parent d7a6798 commit 2918ad5

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/integration-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ env:
1212
split-total: 4
1313

1414
jobs:
15-
download-junit-reports-test:
16-
name: Download JUnit reports
15+
checkout-junit-reports-test:
16+
name: Checkout JUnit reports
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout split-tests-java-action
@@ -36,7 +36,7 @@ jobs:
3636
echo "expected-junit-reports-sha=${SHA}" >> "$GITHUB_ENV"
3737
3838
- name: Download JUnit reports
39-
uses: ./download-junit-reports
39+
uses: ./checkout-junit-reports
4040
with:
4141
git-branch: junit-reports-it-${{ github.sha }}-download
4242
path: junit-reports-first
@@ -68,7 +68,7 @@ jobs:
6868
git push
6969
7070
- name: Download JUnit reports
71-
uses: ./download-junit-reports
71+
uses: ./checkout-junit-reports
7272
with:
7373
git-branch: junit-reports-it-${{ github.sha }}-download
7474
path: junit-reports-second
@@ -131,7 +131,7 @@ jobs:
131131
name: Generate split indexes
132132
runs-on: ubuntu-latest
133133
needs:
134-
download-junit-reports-test
134+
checkout-junit-reports-test
135135
outputs:
136136
json: ${{ steps.generate.outputs.split-index-json }}
137137
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
path: project
5151

5252
- name: Checkout JUnit reports
53-
uses: donnerbart/split-tests-java-action/download-junit-reports@v1
53+
uses: donnerbart/split-tests-java-action/checkout-junit-reports@v1
5454
with:
5555
git-branch: junit-reports/${{ github.base_ref }}
5656
path: junit-reports

checkout-junit-reports/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# @donnerbart/split-tests-java-action/checkout-junit-reports
2+
3+
Checks out the JUnit reports from a Git branch and stores the SHA values in a GitHub artifact.
4+
On a job re-run this SHA will be used to check out the same test results to ensure a consistent test distribution.

download-junit-reports/README.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)