Use wget to download tarball
Some checks failed
CI / test (push) Failing after 2s

This commit is contained in:
2026-02-01 05:33:48 +00:00
parent 8ec4825de7
commit f4becf791e

View File

@@ -6,11 +6,16 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Download repo
run: | 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 ls -la
- name: Run tests - name: Install
run: | run: |
pip3 install -e . pytest 2>&1 || echo "pip3 failed" cd json-to-openapi-main
pytest tests/ -v 2>&1 || echo "pytest failed" pip3 install -e . pytest
- name: Test
run: |
cd json-to-openapi-main
pytest tests/ -v