1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2026-05-03 19:37:04 +02:00
Files
2025-10-27 19:30:54 +01:00

39 lines
915 B
YAML

name: Run tests
on:
# push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
sudo apt-get update && sudo apt-get install -y espeak-ng
- name: Build Cython extensions
run: poetry run python setup.py build_ext --inplace
- name: Run pytest
run: |
poetry run pytest
poetry run mypy .
- name: Duck Notifier
if: failure()
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TG_CHAT_ID }}
token: ${{ secrets.TG_BOT_TOKEN }}
message: ❌ S.T.A.R.K. push tests failed on branch ${{ github.ref }}