Skip to content

Commit

Permalink
Fix packaged manpage build step in release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
coloursofnoise committed Aug 10, 2023
1 parent 4540ca1 commit f973665
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/integration/test_overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit f973665

Please sign in to comment.