This commit is contained in:
@@ -6,18 +6,10 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
cd json-to-openapi-main
|
pip3 install --upgrade pip setuptools wheel 2>/dev/null || pip install --upgrade pip setuptools wheel
|
||||||
pip3 install --upgrade pip setuptools wheel
|
pip3 install -e . pytest 2>/dev/null || pip install -e . pytest
|
||||||
pip3 install -e .
|
|
||||||
pip3 install pytest
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
cd json-to-openapi-main
|
pytest tests/ -v 2>/dev/null || python3 -m pytest tests/ -v
|
||||||
pytest tests/ -v
|
|
||||||
|
|||||||
Reference in New Issue
Block a user