From f4becf791e8f5fa5ee422817a00a89865eeb8608 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:33:48 +0000 Subject: [PATCH] Use wget to download tarball --- .gitea/workflows/ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0f2b224..0bda668 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,11 +6,16 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout + - name: Download repo run: | - echo "test" > test.txt + wget -q https://gitea.com/7000pctAUTO/json-to-openapi/archive/main.tar.gz -O repo.tar.gz + tar xzf repo.tar.gz ls -la - - name: Run tests + - name: Install run: | - pip3 install -e . pytest 2>&1 || echo "pip3 failed" - pytest tests/ -v 2>&1 || echo "pytest failed" + cd json-to-openapi-main + pip3 install -e . pytest + - name: Test + run: | + cd json-to-openapi-main + pytest tests/ -v