From 586b055bd9662547f870ed103a3cfb4c1e981114 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:30:00 +0000 Subject: [PATCH] Minimal workflow - skip download step entirely --- .gitea/workflows/ci.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 6061886..30f562d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,18 +6,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Download - run: | - curl -L https://gitea.com/7000pctAUTO/json-to-openapi/archive/main.tar.gz -o repo.tar.gz - tar xzf repo.tar.gz - cd json-to-openapi-main - name: Install run: | - cd json-to-openapi-main - pip3 install --upgrade pip setuptools wheel - pip3 install -e . - pip3 install pytest + pip3 install --upgrade pip setuptools wheel 2>/dev/null || pip install --upgrade pip setuptools wheel + pip3 install -e . pytest 2>/dev/null || pip install -e . pytest - name: Test run: | - cd json-to-openapi-main - pytest tests/ -v + pytest tests/ -v 2>/dev/null || python3 -m pytest tests/ -v