Skip to content

Commit 01ad3d9

Browse files
pages fix (#8)
1 parent 887659c commit 01ad3d9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
extra_args: --verbose --all-files
4343

4444
- run: poetry run pytest ${{ matrix.cfg.pytest-opts }}
45-
- run: poetry run whaler --no-server
46-
- if: matrix.cfg.publish-docs
45+
- run: poetry run whaler --no-server /
46+
- if: matrix.cfg.publish-docs && github.ref == 'refs/heads/main'
4747
uses: peaceiris/[email protected]
4848
with:
4949
github_token: ${{ secrets.GITHUB_TOKEN }}

src/whaler/static/html.tgz

-334 KB
Binary file not shown.

tests/test_cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def test_when_custom_dir_docker_then_custom_cwd(testdir, alpine):
6464
result = runner.invoke(
6565
cli.run, f"--image={alpine} --no-server /bin", catch_exceptions=False
6666
)
67+
print(result.output)
6768

6869
html_dir = Path(testdir.tmpdir) / cli.DEFAULT_OUT / cli.HTML_DIR
6970

@@ -146,6 +147,7 @@ def test_when_large_image_then_success(testdir):
146147
f"--image='volkamerlab/teachopencadd:master-latest' --no-server /",
147148
catch_exceptions=False,
148149
)
150+
print(result.output)
149151

150152
html_dir = Path(testdir.tmpdir) / cli.DEFAULT_OUT / cli.HTML_DIR
151153

0 commit comments

Comments
 (0)