ci: add Gitea Actions workflow
This commit is contained in:
parent
549d531b1b
commit
dcd0372dbe
12
.gitea/workflows/ci.yaml
Normal file
12
.gitea/workflows/ci.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
name: CI
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- run: pip install -r requirements.txt 2>/dev/null || true
|
||||
- run: find . -name '*.py' -exec python -m py_compile {} +
|
||||
Loading…
Reference in New Issue
Block a user