include source verification so include packages that are currently mi… #1672
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: update-test-reports | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| syncTestReports: | |
| if: github.repository == 'besu-eth/besu' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get latest merge PR number | |
| id: latest_merged_pr_number | |
| run: echo "PULL_REQUEST_NUMBER=$(gh pr list --repo besu-eth/besu --base main --state merged --json "number,mergedAt" --search "sort:updated-desc" --jq 'max_by(.mergedAt)|.number')" >> "$GITHUB_OUTPUT" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Get acceptance test reports from latest merged PR | |
| uses: dawidd6/action-download-artifact@e7466d1a7587ed14867642c2ca74b5bcc1e19a2d | |
| with: | |
| workflow: acceptance-tests.yml | |
| workflow_conclusion: success | |
| pr: ${{ env.LATEST_MERGED_PR_NUMBER }} | |
| name_is_regexp: true | |
| name: 'acceptance-node-\d+-test-results' | |
| path: acceptance-test-results | |
| if_no_artifact_found: fail | |
| env: | |
| LATEST_MERGED_PR_NUMBER: ${{ steps.latest_merged_pr_number.outputs.PULL_REQUEST_NUMBER }} | |
| - name: Upload acceptance test results | |
| uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 | |
| with: | |
| name: acceptance-test-results | |
| path: 'acceptance-test-results/**/TEST-*.xml' |