Update .gitea/workflows/test-checker.yaml
Tests / Run-Tests (push) Successful in 7s
Details
Tests / Run-Tests (push) Successful in 7s
Details
parent
dcaa5fbae3
commit
34668b6750
|
@ -19,13 +19,15 @@ jobs:
|
|||
! python3 ../../run-tests.py
|
||||
- name: Update badges (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' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'X-API-Key: ${{ secrets.BADGE_API_KEY }}'
|
||||
- name: Update badges (fail)
|
||||
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' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'X-API-Key: ${{ secrets.BADGE_API_KEY }}'
|
||||
|
|
Loading…
Reference in New Issue