Solution convincing #60
Workflow file for this run
This file contains 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: Solution convincing | |
on: | |
merge_group: | |
branches: | |
- feature/** | |
- bugfix/** | |
- chore/** | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
uu-to-images: | |
name: Up to images | |
timeout-minutes: 10 | |
runs-on: ubuntu-22.04 | |
permissions: | |
checks: write | |
packages: write | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/prepare | |
with: | |
tools: python java docker | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- run: ansible-playbook sources.yml -l lib:app | |
working-directory: .dx | |
env: | |
GITHUB_ACTOR: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- id: images | |
run: > | |
ansible-playbook images.yml | |
-e binary_repo=maven.pkg.github.com | |
-e image_repo=ghcr.io | |
-e focus=solution | |
working-directory: .dx | |
env: | |
GITHUB_ACTOR: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: mikepenz/action-junit-report@v4 | |
if: ${{ !cancelled() && (steps.images.outcome == 'success' || steps.images.outcome == 'failure') }} | |
with: | |
check_name: Unit Test Report | |
report_paths: "**/target/surefire-reports/TEST-*.xml" | |
require_tests: "${{ steps.images.outcome == 'failure' }}" | |
fail_on_failure: false | |
job_summary: false | |
- uses: mikepenz/action-junit-report@v4 | |
if: ${{ !cancelled() && (steps.images.outcome == 'success' || steps.images.outcome == 'failure') }} | |
with: | |
check_name: Integration Test Report | |
report_paths: "**/target/failsafe-reports/TEST-*.xml" | |
require_tests: "${{ steps.images.outcome == 'failure' }}" | |
fail_on_failure: false | |
job_summary: false | |
- name: Always empty E2E test report. See https://github.com/orgs/community/discussions/13690 | |
uses: mikepenz/action-junit-report@v4 | |
if: ${{ !cancelled() }} | |
with: | |
check_name: E2E Test Report | |
require_tests: false | |
fail_on_failure: false | |
job_summary: false | |
- uses: actions/[email protected] | |
if: ${{ !cancelled() }} | |
with: | |
name: test-coverage-report | |
path: .tools/target/coverage | |
if-no-files-found: ignore |