From f0b00b2229e526a0541f63afa7dc6427de573098 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 20:44:47 +0000 Subject: [PATCH] fix: standard CI with actions --- .gitea/workflows/ci.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 96cc94c..d3a34e3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,16 +1,14 @@ name: CI -on: push, pull_request +on: [push, pull_request] jobs: test: runs-on: ubuntu-latest steps: - - 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 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - run: | + pip install -e . + pip install pytest + pytest confsync/tests/ -v