Skip to content

Commit a54826c

Browse files
committed
Fixups and more introspection
1 parent b10b492 commit a54826c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
with:
7474
name: swiftly-tests-x86_64
7575
- name: Extract and Run Workflow Tests
76-
run: mv swiftly-*.tar.gz /root/swiftly.tar.gz && mv test-swiftly.tar.gz /root && cd /root && tar zxf test-swiftly.tar.gz && SWIFTLY_SYSTEM_MUTATING=1 ./swiftlyPackageTests.xctest SwiftlyTests.E2ETests/testAutomatedWorkflow
76+
run: cp swiftly-*.tar.gz /root/swiftly.tar.gz && cp test-swiftly.tar.gz /root && cd /root && tar zxf test-swiftly.tar.gz && SWIFTLY_SYSTEM_MUTATING=1 ./swiftlyPackageTests.xctest SwiftlyTests.E2ETests/testAutomatedWorkflow
7777

7878
formatcheck:
7979
name: Format Check

Tests/SwiftlyTests/E2ETests.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,13 @@ final class E2ETests: SwiftlyTests {
8989
try Swiftly.currentPlatform.runProgram(shell, "-l", "-c", "swiftly install --assume-yes latest --post-install-file=./post-install.sh")
9090

9191
if FileManager.default.fileExists(atPath: "./post-install.sh") {
92-
try Swiftly.currentPlatform.runProgram("./post-install.sh")
92+
try Swiftly.currentPlatform.runProgram(shell, "./post-install.sh")
9393
}
9494

95+
// TODO remove this
96+
print("CHECKING /root/.profile")
97+
try Swiftly.currentPlatform.runProgram("cat", "/root/.profile")
98+
9599
try Swiftly.currentPlatform.runProgram(shell, "-l", "-c", "swift --version", quiet: false)
96100
}
97101
}

0 commit comments

Comments
 (0)