diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ff9e970..6725aa4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,10 +21,17 @@ jobs: uses: actions/setup-python@v2 with: python-version: '3.11' - sphinx: '7.1.0' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install . + python -m pip install -r requirements-dev.txt - name: Generate packaged manual pages run: sphinx-build -b man -W docs mons/man -d docs/_build + env: + TZ: UTC - name: Install pypa/build run: python -m pip install build --user diff --git a/tests/integration/test_overlay.py b/tests/integration/test_overlay.py index e7eeefc..8c50aef 100644 --- a/tests/integration/test_overlay.py +++ b/tests/integration/test_overlay.py @@ -18,6 +18,7 @@ def test_in_namespace(monkeypatch: pytest.MonkeyPatch): assert overlayfs.in_namespace() +@pytest.mark.xfail(reason="Fails if run from within a namespace", raises=AssertionError) def test_not_in_namespace(): assert not overlayfs.in_namespace()