Skip to content

Solution sanity

Solution sanity #12

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: exit 1
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: ${{ steps.binaries.outcome == 'success' or steps.binaries.outcome == 'failure' }}

Check failure on line 44 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: 44, Col: 13): Unexpected symbol: 'or'. Located at position 37 within expression: steps.binaries.outcome == 'success' or steps.binaries.outcome == 'failure'
with:
check_name: Unit Test Report
report_paths: "**/target/surefire-reports/TEST-*.xml"
require_tests: "${{ steps.binaries.outcome == 'failure' }}"
fail_on_failure: true
job_summary: false