Merge pull request #317 from axone-protocol/build/improvements #582
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: Test | |
on: | |
workflow_call: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-ontology: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Test ontology | |
run: | | |
make test-ontology | |
- name: Output test results | |
if: ${{ failure() }} | |
run: | | |
find target/test -name "*.tested.flag" -type f \ | |
-exec grep -q "Conforms: False" {} \; \ | |
-exec echo "β {}" \; \ | |
-exec cat {} \; \ | |
-exec echo "" \; |