This commit is contained in:
@@ -6,11 +6,16 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: Download repo
|
||||
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
|
||||
- name: Run tests
|
||||
- name: Install
|
||||
run: |
|
||||
pip3 install -e . pytest 2>&1 || echo "pip3 failed"
|
||||
pytest tests/ -v 2>&1 || echo "pytest failed"
|
||||
cd json-to-openapi-main
|
||||
pip3 install -e . pytest
|
||||
- name: Test
|
||||
run: |
|
||||
cd json-to-openapi-main
|
||||
pytest tests/ -v
|
||||
|
||||
Reference in New Issue
Block a user