Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased

## Summary

## Bug

* #910: Add `gh-pages.yml` to be ignored when `has_documentation=False` in the `PROJECT_CONFIG`
2 changes: 1 addition & 1 deletion exasol/toolbox/util/workflows/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

WORKFLOW_TEMPLATES_DIRECTORY = "exasol.toolbox.templates.github.workflows"
NOT_MAINTAINED_WORKFLOW_NAMES: Final[list[str]] = ["slow-checks"]
DOCUMENTATION_ONLY_WORKFLOW_NAMES: Final[list[str]] = ["pr-merge"]
DOCUMENTATION_ONLY_WORKFLOW_NAMES: Final[list[str]] = ["gh-pages", "pr-merge"]


def get_workflow_templates() -> Mapping[str, Path]:
Expand Down
5 changes: 2 additions & 3 deletions test/unit/nox/_workflow_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_raises_exception_when_name_incorrect(
@staticmethod
@pytest.mark.parametrize(
"nox_session_runner_posargs, expected_count",
[(ALL, 13)],
[(ALL, 12)],
indirect=["nox_session_runner_posargs"],
)
def test_skips_documentation_workflows_when_docs_disabled(
Expand Down Expand Up @@ -221,15 +221,14 @@ def test_raises_session_quit_without_documentation_workflows(
check_workflow(nox_session)

assert str(exc.value) == (
"\n13 workflows are out of date:\n"
"\n12 workflows are out of date:\n"
"- build-and-publish\n"
"- cd\n"
"- check-release-tag\n"
"- checks\n"
"- ci\n"
"- dependency-update\n"
"- fast-tests\n"
"- gh-pages\n"
"- matrix\n"
"- merge-gate\n"
"- periodic-validation\n"
Expand Down