Skip to content

Fix tests on windows #10719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 9, 2020
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
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ jobs:
|| (
github.event_name == 'pull_request'
&& !contains(github.event.pull_request.body, '[skip ci]')
)
|| (
github.event_name == 'pull_request'
&& !contains(github.event.pull_request.body, '[skip ci]')
&& !contains(github.event.pull_request.body, '[skip test_windows_fast]')
)"

steps:
Expand All @@ -121,6 +126,11 @@ jobs:
|| (
github.event_name == 'push'
&& !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
)
|| (
github.event_name == 'pull_request'
&& !contains(github.event.pull_request.body, '[skip ci]')
&& contains(github.event.pull_request.body, '[test_windows_full]')
)"

steps:
Expand Down
2 changes: 1 addition & 1 deletion scala3doc/test-documentations/basic/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ title: Basic test
---
# Header

[Link to docs](docs/index.html) [Link to docs2](docs/index.md)
[Link to docs](docs/index.html)

And a text!
2 changes: 1 addition & 1 deletion scala3doc/test/dotty/dokka/site/SiteGeneratationTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class SiteGeneratationTest:
}

def indexLinks(content: DocumentContext) =
content.assertAttr("p a","href", "docs/index.html","docs/index.html" )
content.assertAttr("p a","href", "docs/index.html")

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