-
Notifications
You must be signed in to change notification settings - Fork 0
73 lines (71 loc) · 2.32 KB
/
solution-convincing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
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 -e focus=solution
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