Skip to content

Add telegram and schedule #7

Add telegram and schedule

Add telegram and schedule #7

Workflow file for this run

name: Unit tests
on:
- cron: '0 16 * * 5'
jobs:
run_tests:
runs-on: macos-13
steps:
- uses: actions/checkout@v1
- name: Run tests
run: |
xcodebuild test -workspace shared-workspace.xcworkspace -scheme GenericsApp -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14,OS=17.0.1' -testPlan NoServerTests | xcpretty && exit ${PIPESTATUS[0]}
- name: Send message to me
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
Hello world! Unit tests are done.