Update .gitea/workflows/test-checker.yaml

multiline-output
drunkendog 2023-09-15 21:23:20 +01:00
parent 4bd233712b
commit dcaa5fbae3
1 changed files with 13 additions and 1 deletions

View File

@ -16,4 +16,16 @@ jobs:
- name: Run checker (failing)
run: |
cd tests/fail/
! python3 ../../run-tests.py
! python3 ../../run-tests.py
- name: Update badges (success)
if: success()
run: curl -X 'GET' \
'https://badgeapi.docker.162536.xyz/set_badge/?repo=marmoset-test-cases&new_badge=Tests-passing-brightgreen' \
-H 'accept: application/json' \
-H 'X-API-Key: ${{ secrets.BADGE_API_KEY }}'
- name: Update badges (fail)
if: failure()
run: curl -X 'GET' \
'https://badgeapi.docker.162536.xyz/set_badge/?repo=marmoset-test-cases&new_badge=Tests-failing-red' \
-H 'accept: application/json' \
-H 'X-API-Key: ${{ secrets.BADGE_API_KEY }}'