Update .gitea/workflows/test-checker.yaml
Tests / Run-Tests (push) Successful in 7s Details

multiline-output
drunkendog 2023-09-15 21:23:54 +01:00
parent dcaa5fbae3
commit 34668b6750
1 changed files with 10 additions and 8 deletions

View File

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