Download repo as tarball instead of git clone
Some checks failed
CI / test (push) Failing after 2s

This commit is contained in:
2026-02-01 05:29:17 +00:00
parent f2b16574bf
commit d43df1179e

View File

@@ -6,11 +6,18 @@ 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: |
which pip3 || (apt-get update && apt-get install -y python3-pip)
cd json-to-openapi-main
pip3 install --upgrade pip setuptools wheel
pip3 install -e .
pip3 install pytest
- name: Test
run: pytest tests/ -v
run: |
cd json-to-openapi-main
pytest tests/ -v