fix: basic CI workflow

This commit is contained in:
2026-02-04 20:43:39 +00:00
parent ee39700035
commit 7302fc6195

View File

@@ -1,15 +1,16 @@
name: CI
on: [push, pull_request]
on: push, pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: |
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
echo "Clone successful"
- run: |
python3 --version
- run: |
pip3 install pytest --quiet
- run: |
pip3 install -e . --quiet && echo "Install successful"
- name: Clone
run: git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
- name: Install Python
run: |
apt-get update && apt-get install -y python3 python3-pip git
- name: Install deps
run: |
pip3 install -e . pytest
- name: Run tests
run: pytest confsync/tests/ -v