mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-14 13:05:09 +00:00
ci: run the unit suite in parallel and keep it off the network
Test servers shut down without the 0.5s poll wait, unit tests refuse non-loopback lookups, and three load-sensitive tests are steadied. Pushes to dev test Python 3.11 only; the docs job builds with uv.
This commit is contained in:
@@ -29,11 +29,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-python@v6
|
||||
- uses: astral-sh/setup-uv@v8.3.2
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- run: pip install -e . -r docs/requirements-docs.txt
|
||||
- run: mkdocs build --strict
|
||||
python-version: "3.14"
|
||||
enable-cache: true
|
||||
cache-suffix: docs
|
||||
- run: uv run --no-project --with-requirements docs/requirements-docs.txt mkdocs build --strict
|
||||
|
||||
deploy:
|
||||
if: github.event_name != 'pull_request'
|
||||
@@ -42,8 +43,9 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v6
|
||||
- uses: astral-sh/setup-uv@v8.3.2
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- run: pip install -e . -r docs/requirements-docs.txt
|
||||
- run: mkdocs gh-deploy --remote-branch docs
|
||||
python-version: "3.14"
|
||||
enable-cache: true
|
||||
cache-suffix: docs
|
||||
- run: uv run --no-project --with-requirements docs/requirements-docs.txt mkdocs gh-deploy --remote-branch docs
|
||||
|
||||
Reference in New Issue
Block a user