Daily ESP32 Connection Summary #311
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
name: Daily ESP32 Connection Summary | |
on: | |
workflow_call: | |
secrets: | |
MONGODB_TEST_OUTPUT_URI: | |
required: true | |
CANARY_SLACKBOT_TOKEN: | |
required: true | |
MICRO_RDK_TEAM_CHANNEL_ID: | |
required: true | |
schedule: | |
- cron: '30 23 * * *' | |
env: | |
MONGODB_TEST_OUTPUT_URI: ${{ secrets.MONGODB_TEST_OUTPUT_URI }} | |
CANARY_SLACKBOT_TOKEN: ${{ secrets.CANARY_SLACKBOT_TOKEN }} | |
MICRO_RDK_TEAM_CHANNEL_ID: ${{ secrets.MICRO_RDK_TEAM_CHANNEL_ID }} | |
jobs: | |
canary: | |
runs-on: "ubuntu-latest" | |
defaults: | |
run: | |
working-directory: ./canary | |
shell: bash | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Run Canary | |
run: | | |
python -m pip install -r requirements.txt | |
python daily_summary.py |