This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user