Skip to content

[feat](sleep): crash test app after 60s #16

[feat](sleep): crash test app after 60s

[feat](sleep): crash test app after 60s #16

Workflow file for this run

#############################################
# 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