Add minimal CI workflow

Add a GitHub Actions workflow that installs requirements on Python
3.12 and byte-compiles the bot package on every push to main and on
pull requests, catching dependency-resolution and syntax errors early.
This commit is contained in:
Father Bot
2026-04-23 12:40:09 +03:00
parent e09e0017b4
commit 91c9f51f47
+25
View File
@@ -0,0 +1,25 @@
name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Byte-compile sources
run: python -m compileall bot