fix: CI with git clone and apt-get
Some checks failed
CI / test (push) Failing after 32s

This commit is contained in:
2026-02-04 20:46:00 +00:00
parent f0b00b2229
commit 203b42338f

View File

@@ -4,11 +4,16 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Checkout code
- uses: actions/setup-python@v4 run: |
with: git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
python-version: '3.10' - name: Setup Python
- run: | run: |
pip install -e . apt-get update -qq
pip install pytest apt-get install -y -qq python3 python3-pip git
pytest confsync/tests/ -v - name: Install dependencies
run: |
pip install -q -e .
pip install -q pytest
- name: Run tests
run: pytest confsync/tests/ -v