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

This commit is contained in:
2026-02-04 20:47:14 +00:00
parent 203b42338f
commit f08765b598

View File

@@ -4,16 +4,16 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- name: Checkout
run: |
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
- name: Setup Python
wget -q https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync/archive/main.tar.gz -O /tmp/repo.tar.gz
tar xzf /tmp/repo.tar.gz -C /tmp
cp -r /tmp/confsync-main/* .
ls -la
- name: Check Python
run: python3 --version
- name: Install
run: |
apt-get update -qq
apt-get install -y -qq python3 python3-pip git
- name: Install dependencies
run: |
pip install -q -e .
pip install -q pytest
- name: Run tests
run: pytest confsync/tests/ -v
pip3 install -e . pytest 2>&1 | tail -5
- name: Test
run: pytest confsync/tests/ -v 2>&1 | head -30