From e42e7e7bc48e57a0ad8bce46ee7c5345a603bac1 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 04:27:08 +0000 Subject: [PATCH] fix: add pytest step --- .gitea/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index cf94b6c..95db76b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -3,4 +3,14 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest - steps: [ { run: "echo hello" } ] + steps: + - name: Clone repo + run: | + git clone https://${{ gitea.server }}/${{ gitea.repository }} . + git checkout ${{ gitea.sha }} + + - name: Install and test + run: | + pip3 install pytest + pip3 install click pyyaml rich + pytest tests/ -v --tb=short