Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Sep 5, 2024
1 parent dde2b8f commit 4f271ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-mill-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ jobs:
if: inputs.millargs != '' && !startsWith(inputs.os, 'windows')

- name: Run Mill (on Windows) '${{ inputs.millargs }}'
run: cmd /C %GITHUB_WORKSPACE%\ci\mill.bat -i -d -k ${{ inputs.millargs }}
run: cmd /C %GITHUB_WORKSPACE%\ci\mill.bat -ij1 __.resolvedIvyDeps; cmd /C %GITHUB_WORKSPACE%\ci\mill.bat -i -d -k ${{ inputs.millargs }}
if: inputs.millargs != '' && startsWith(inputs.os, 'windows')
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,16 @@ object ScriptsInvalidationTests extends IntegrationTestSuite {

assert(result == expected)


// second run modifying script
modifyFile(
workspacePath / "build.mill",
_.replace("""println("taskE")""", """System.out.println("taskE2")""")
)

val result = runTask("taskE")
val expected = Set("taskE2")
val result2 = runTask("taskE")
val expected2 = Set("taskE2")

assert(result == expected)
assert(result2 == expected2)
}
}
test("should handle ammonite paths with symbols") {
Expand Down

0 comments on commit 4f271ad

Please sign in to comment.