Swap order of two runs
Tests / Run-Tests (push) Successful in 4s Details

multiline-output
drunkendog 2023-09-16 16:36:37 +01:00
parent 731392f95f
commit 7cad80c91f
1 changed files with 8 additions and 8 deletions

View File

@ -17,13 +17,6 @@ jobs:
run: | run: |
cd tests/fail/ cd tests/fail/
! python3 ../../run-tests.py ! python3 ../../run-tests.py
- name: Update badges (success)
if: needs.pr-check.outputs.number != 'null' && github.ref == 'refs/heads/main' && success()
run: |
curl -f -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) - name: Update badges (fail)
if: needs.pr-check.outputs.number != 'null' && github.ref == 'refs/heads/main' && failure() if: needs.pr-check.outputs.number != 'null' && github.ref == 'refs/heads/main' && failure()
run: | run: |
@ -31,3 +24,10 @@ jobs:
'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 }}'
- name: Update badges (success)
if: needs.pr-check.outputs.number != 'null' && github.ref == 'refs/heads/main' && success()
run: |
curl -f -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 }}'