2 parents 58b5e1c + 004b89e commit 4ff2d09Copy full SHA for 4ff2d09
2 files changed
.github/workflows/swift.yml
@@ -18,5 +18,7 @@ jobs:
18
- uses: actions/checkout@v4
19
- name: Build
20
run: swift build
21
- - name: Run tests
22
- run: swift test -q
+ - name: Run tests (except SiteTests)
+ run: swift test -q --skip SiteTests
23
+ - name: Run tests (SiteTests only)
24
+ run: swift test -q --filter SiteTests
Tests/IgniteTesting/Publishing/Site.swift
@@ -153,6 +153,9 @@ private struct TestPackage {
153
.appending(path: "TestWebsitePackage")
154
buildDirectoryURL = packageBaseURL.appending(path: "Build")
155
contentDirectoryURL = packageBaseURL.appending(path: "Content")
156
+ try? FileManager.default.createDirectory(
157
+ at: contentDirectoryURL,
158
+ withIntermediateDirectories: false)
159
}
160
161
func checkIndexFileExists() -> Bool {
0 commit comments