-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (48 loc) · 1.33 KB
/
solution-sanity.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
---
name: Solution sanity
on:
pull_request:
branches-ignore:
- main
paths: # waiting for https://github.com/actions/runner/issues/2324
- libs/**
- apps/**
- schemas/**
- solutions/**
workflow_dispatch:
jobs:
up-to-binaries:
name: Up to binaries
timeout-minutes: 5
runs-on: ubuntu-22.04
permissions:
checks: write
packages: write
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/prepare
with:
tools: python java
# - run: ansible-playbook sources.yml -l lib:app
- run: echo foo
working-directory: .dx
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- id: binaries
run: >
ansible-playbook binaries.yml
-e binary_repo=maven.pkg.github.com
-e focus=solution
working-directory: .dx
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: mikepenz/action-junit-report@v4
if: ${{ !cancelled() }}
with:
check_name: Unit Test Report
report_paths: "**/surefire-reports/TEST-*.xml"
require_tests: "${{ steps.binaries.outcome == 'failure' }}"
fail_on_failure: true
job_summary: false