Check if already cloned
Some checks failed
CI / test (push) Failing after 2s

This commit is contained in:
2026-02-01 05:25:21 +00:00
parent d3dab6c64c
commit 3d88504b69

View File

@@ -7,11 +7,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
run: git clone https://gitea.com/7000pctAUTO/json-to-openapi .
- name: Install pip and deps
run: |
python3 -m ensurepip || true
python3 -m pip install --upgrade pip setuptools wheel
if [ ! -f setup.py ]; then
git clone https://gitea.com/7000pctAUTO/json-to-openapi .
fi
- name: Install
run: |
python3 -m ensurepip --upgrade 2>/dev/null || true
python3 -m pip install --upgrade pip
python3 -m pip install -e .
python3 -m pip install pytest
- name: Test