This commit is contained in:
@@ -6,13 +6,10 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout repository
|
||||||
run: |
|
run: |
|
||||||
git clone https://gitea.com/${{ github.repository }} ${{ github.workspace }}
|
git clone https://gitea.com/$GITEA_REPO_NAME . 2>/dev/null || git clone https://gitea.com/${{ github.repository }} .
|
||||||
cd ${{ github.workspace }}
|
- name: Install and test
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
run: |
|
||||||
cd ${{ github.workspace }}
|
pip install -e . pytest
|
||||||
pip3 install -e . pytest 2>/dev/null || pip install -e . pytest
|
pytest tests/ -v
|
||||||
python3 -m pytest tests/ -v 2>/dev/null || python -m pytest tests/ -v
|
|
||||||
|
|||||||
Reference in New Issue
Block a user