Skip to content

Commit

Permalink
Add CI notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoCeratto committed Oct 6, 2023
1 parent 77b2167 commit aff6a73
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test_new_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ jobs:
run: cd api && T="--show-capture=no -s -vv" make tests
#run: T="--show-capture=no -s -vv --junitxml=pytest.xml" make tests

- name: Notify success
if: ${{ success() }}
run: curl -s -d "CI: API OK 😄" https://ntfy.sh/ooni-7aGhaS

- name: Notify failure
if: ${{ failure() }}
run: curl -d "CI: API FAIL 😞" https://ntfy.sh/ooni-7aGhaS

#- name: debug docker
# if: always()
# run: docker ps -a
Expand Down

0 comments on commit aff6a73

Please sign in to comment.