Add CI check

Mira Kovac 8 months ago
parent 0ff8a4d80d commit 02b74522d4703f3af7315bdb4deb2fdcf5c7dffd
1 changed files with 15 additions and 0 deletions
+15-0.gitea/workflows/check.yml ADDED
@@ -0,0 +1,15 @@
1+name: check
2+on:
3+ push:
4+ branches: [main]
5+ pull_request:
6+
7+jobs:
8+ check:
9+ runs-on: ubuntu-latest
10+ steps:
11+ - uses: actions/checkout@v4
12+ - uses: actions/setup-python@v5
13+ with:
14+ python-version: '3.12'
15+ - run: python -m py_compile $(git ls-files '*.py')