[doc](demo): refactor demo image #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################# | |
# author: ashraf minhaj | |
# email : ashraf_minhaj@yahoo.com | |
# | |
# date: 18-11-23 | |
# runs pydonitor and test it's functionality | |
# should run on a feature branch | |
############################################# | |
name: test # test pydonitor funtionality | |
on: | |
push: | |
branches: | |
# - '*' # matches every branch that doesn't contain a '/' | |
- '*/*' # matches every branch containing a single '/' | |
- '**' # matches every branch | |
- '!main' | |
jobs: | |
# test using a docekr container that fails after some seconds | |
test_auto_fail: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Test Auto Fail Example # -d --build | |
run: | | |
cd example/auto_fail_sample_with_logs | |
docker compose run -e discord_webhook_url=${{secrets.DISCORD_WEBHOOK}} pydonitor |