From 64d1fa488b2bc5600617adcc65c45cead02b9664 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:22:01 +0000 Subject: [PATCH] Use simpler variable names for Gitea Actions --- .gitea/workflows/ci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4646c61..c624211 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,13 +6,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout + - name: Checkout repository run: | - git clone https://gitea.com/${{ github.repository }} ${{ github.workspace }} - cd ${{ github.workspace }} - git checkout ${{ github.sha }} - - name: Run tests + git clone https://gitea.com/$GITEA_REPO_NAME . 2>/dev/null || git clone https://gitea.com/${{ github.repository }} . + - name: Install and test run: | - cd ${{ github.workspace }} - pip3 install -e . pytest 2>/dev/null || pip install -e . pytest - python3 -m pytest tests/ -v 2>/dev/null || python -m pytest tests/ -v + pip install -e . pytest + pytest tests/ -v