diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1bfb023..bd05972 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,15 +6,14 @@ jobs: steps: - name: Clone repository run: | - git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/confsync - cp -r /tmp/confsync/* . - git submodule update --init --recursive || true + rm -rf confsync || true + git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git . - name: Setup Python run: | apt-get update && apt-get install -y python3 python3-pip git - - name: Install dependencies + - name: Install run: | pip install -e . pip install pytest - - name: Run tests - run: pytest -v || true + - name: Test + run: pytest -v