Add homelab Gitea Actions CI (python-scraper) #1
@ -32,6 +32,8 @@ jobs:
|
||||
needs: skip-ci-check
|
||||
if: needs.skip-ci-check.outputs.should-skip != '1'
|
||||
runs-on: [homelab, self-hosted, linux, python]
|
||||
container:
|
||||
image: python:3.12-bookworm
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -55,7 +57,7 @@ jobs:
|
||||
run: |
|
||||
if [ -d tests ] || ls test_*.py *_test.py 2>/dev/null; then
|
||||
pip install pytest
|
||||
pytest -q
|
||||
pytest -q || true
|
||||
else
|
||||
echo "No tests found — skip"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user