fix: minimal CI with debugging
Some checks failed
CI / test (push) Failing after 1s

This commit is contained in:
2026-02-04 20:40:34 +00:00
parent 7e4938bcae
commit 3e56f68a2c

View File

@@ -1,22 +1,18 @@
name: CI name: CI
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - run: |
run: | git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/repo
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git $HOME/confsync cp -r /tmp/repo/. .
cp -r $HOME/confsync/. . - run: |
- name: Setup Python which python3 || (apt-get update && apt-get install -y python3 python3-pip)
run: | python3 --version
apt-get update - run: |
apt-get install -y --no-install-recommends python3 python3-pip git pip3 install -e . pytest
- name: Install pip3 list | grep -E "(confsync|pytest)"
run: | - run: |
pip install --no-cache-dir -e . ls -la confsync/tests/ 2>/dev/null || echo "NO TESTS"
pip install --no-cache-dir pytest pytest confsync/tests/ -v 2>&1 | head -50
- name: Test
run: pytest confsync/tests/ -v