This commit is contained in:
@@ -6,5 +6,19 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Test Python
|
- name: Checkout
|
||||||
|
run: |
|
||||||
|
git clone https://${{ gitea.server }}/${{ gitea.repository }} .
|
||||||
|
git checkout ${{ gitea.sha }}
|
||||||
|
|
||||||
|
- name: Python version
|
||||||
run: python3 --version
|
run: python3 --version
|
||||||
|
|
||||||
|
- name: Install deps
|
||||||
|
run: |
|
||||||
|
python3 -m pip install --upgrade pip
|
||||||
|
python3 -m pip install pytest ruff
|
||||||
|
python3 -m pip install -e ".[dev]"
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: python3 -m pytest tests/ -v --tb=short
|
||||||
|
|||||||
Reference in New Issue
Block a user