Skip to content

Solution sanity

Solution sanity #7

Workflow file for this run

---
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 }}
- 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
require_tests: ${{ !success() }}

Check failure on line 46 in .github/workflows/solution-sanity.yml

View workflow run for this annotation

GitHub Actions / Solution sanity

Invalid workflow file

The workflow is not valid. .github/workflows/solution-sanity.yml (Line: 46, Col: 26): Unrecognized function: 'success'. Located at position 2 within expression: !success()
fail_on_failure: true
job_summary: false
report_paths: |
libs/*/target/surefire-reports/TEST-*.xml
apps/*/target/surefire-reports/TEST-*.xml
- uses: EnricoMi/[email protected]
if: ${{ !cancelled() }}
with:
check_name: Unit Test Report
check_run_annotations: none
compare_to_earlier_commit: false
action_fail_on_inconclusive: true
action_fail: true
job_summary: false
comment_mode: off
files: |
libs/*/target/surefire-reports/TEST-*.xml
apps/*/target/surefire-reports/TEST-*.xml