From d6951bfdab0cd1a551f5d5dc635b343391aadc06 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:31:16 +0000 Subject: [PATCH] Clone with GITEA_REPO_NAME and test --- .gitea/workflows/ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ccd296e..7727638 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -3,12 +3,16 @@ name: CI on: [push, pull_request] jobs: - debug: + test: runs-on: ubuntu-latest steps: - - name: Debug + - name: Debug vars run: | - echo "PWD: $(pwd)" - echo "ls: $(ls -la)" - echo "GITEA_REPO_NAME: $GITEA_REPO_NAME" - echo "github.repository: $github.repository" + echo "GITEA_REPO_NAME=$GITEA_REPO_NAME" + - name: Clone + run: | + git clone "https://gitea.com/${GITEA_REPO_NAME}.git" . + - name: Install + run: pip3 install -e . pytest + - name: Test + run: pytest tests/ -v