Skip to content

Daily Package Update Testing #7

Daily Package Update Testing

Daily Package Update Testing #7

Workflow file for this run

name: Daily Package Update Testing
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
update-dependencies-and-test:
name: Update dependencies and run tests
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-python-poetry
with:
python-version: ${{ matrix.python-version }}
- run: poetry update
- run: poetry run pytest .
notify-on-failure:
name: Notify on failure
runs-on: ubuntu-latest
needs: update-dependencies-and-test
if: failure()
steps:
- name: Send Telegram Notification on Failure
uses: appleboy/telegram-action@master
with:
to: 438153389
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
New version of something broke Pydantic duality!
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}