Skip to content

Commit 265a279

Browse files
authored
Merge pull request #10719 from romanowski/scala3doc/fix-win-tests
Fix tests on windows
2 parents a9bd274 + 4eebd05 commit 265a279

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ jobs:
101101
|| (
102102
github.event_name == 'pull_request'
103103
&& !contains(github.event.pull_request.body, '[skip ci]')
104+
)
105+
|| (
106+
github.event_name == 'pull_request'
107+
&& !contains(github.event.pull_request.body, '[skip ci]')
108+
&& !contains(github.event.pull_request.body, '[skip test_windows_fast]')
104109
)"
105110

106111
steps:
@@ -121,6 +126,11 @@ jobs:
121126
|| (
122127
github.event_name == 'push'
123128
&& !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
129+
)
130+
|| (
131+
github.event_name == 'pull_request'
132+
&& !contains(github.event.pull_request.body, '[skip ci]')
133+
&& contains(github.event.pull_request.body, '[test_windows_full]')
124134
)"
125135

126136
steps:

scala3doc/test-documentations/basic/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ title: Basic test
33
---
44
# Header
55

6-
[Link to docs](docs/index.html) [Link to docs2](docs/index.md)
6+
[Link to docs](docs/index.html)
77

88
And a text!

scala3doc/test/dotty/dokka/site/SiteGeneratationTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class SiteGeneratationTest:
7272
}
7373

7474
def indexLinks(content: DocumentContext) =
75-
content.assertAttr("p a","href", "docs/index.html","docs/index.html" )
75+
content.assertAttr("p a","href", "docs/index.html")
7676

7777
checkFile("index.html")(title = "Basic test", header = "Header", parents = Seq(projectName), indexLinks)
7878
checkFile("docs/Adoc.html")(title = "Adoc", header = "Header in Adoc", parents = Seq(projectName))

0 commit comments

Comments
 (0)