fix e2e for sbt.

This commit is contained in:
Florian Meriaux 2022-04-12 11:58:29 +02:00
parent b9d25ecda2
commit 68d967ecf9
No known key found for this signature in database
GPG key ID: A3F999CB41DB6BE2
61 changed files with 25 additions and 48 deletions

View file

@ -180,10 +180,30 @@ jobs:
distribution: 'adopt' distribution: 'adopt'
java-version: '11' java-version: '11'
cache: sbt cache: sbt
- name: Confirm that ~/.ivy2/cache directory has been made
- name: Confirm that ~/Library/Caches/Coursier directory has been made
if: matrix.os == 'macos-latest'
run: | run: |
if [ ! -d ~/.ivy2/cache ]; then if [ ! -d ~/Library/Caches/Coursier ]; then
echo "::error::The ~/.ivy2/cache directory does not exist unexpectedly" echo "::error::The ~/Library/Caches/Coursier directory does not exist unexpectedly"
exit 1 exit 1
fi fi
ls ~/.ivy2/cache ls ~/Library/Caches/Coursier
- name: Confirm that ~/AppData/Local/Coursier/Cache directory has been made
if: matrix.os == 'windows-latest'
run: |
if [ ! -d ~/AppData/Local/Coursier/Cache ]; then
echo "::error::The ~/AppData/Local/Coursier/Cache directory does not exist unexpectedly"
exit 1
fi
ls ~/AppData/Local/Coursier/Cache
- name: Confirm that ~/.cache/coursier directory has been made
if: matrix.os == 'ubuntu-latest'
run: |
if [ ! -d ~/.cache/coursier ]; then
echo "::error::The ~/.cache/coursier directory does not exist unexpectedly"
exit 1
fi
ls ~/.cache/coursier

1
__tests__/cache/sbt/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
target/

View file

@ -1 +0,0 @@
sbt.internal.DslEntry

View file

@ -1 +0,0 @@
sbt.internal.DslEntry

View file

@ -1 +0,0 @@
[[{},{}],{}]

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
{"{\"organization\":\"org.scala-lang\",\"name\":\"scala-library\",\"revision\":\"2.12.15\",\"configurations\":\"provided\",\"isChanging\":false,\"isTransitive\":true,\"isForce\":false,\"explicitArtifacts\":[],\"inclusions\":[],\"exclusions\":[],\"extraAttributes\":{},\"crossVersion\":{\"type\":\"Disabled\"}}":{"value":{"$fields":["path","startLine"],"path":"(sbt.Classpaths.jvmBaseSettings) Defaults.scala","startLine":3254},"type":"LinePosition"}}

View file

@ -1,3 +0,0 @@
[debug] not up to date. inChanged = true, force = false
[debug] Updating ProjectRef(uri("file:/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/"), "sbt-build")...
[debug] Done updating ProjectRef(uri("file:/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/"), "sbt-build")

View file

@ -1 +0,0 @@
["sbt.Task[scala.collection.Seq[java.nio.file.Path]]",["/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/zinc/inc_compile_2.12.zip"]]

View file

@ -1,6 +0,0 @@
[debug] [zinc] IncrementalCompile -----------
[debug] IncrementalCompile.incrementalCompile
[debug] previous = Stamps for: 0 products, 0 sources, 0 libraries
[debug] current source = Set()
[debug] > initialChanges = InitialChanges(Changes(added = Set(), removed = Set(), changed = Set(), unmodified = ...),Set(),Set(),API Changes: Set())
[debug] Full compilation, no sources in previous analysis.

View file

@ -1,2 +0,0 @@
[debug] Copy resource mappings: 
[debug]  

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
[debug] Created transactional ClassFileManager with tempDir = /Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes.bak
[debug] Removing the temporary directory used for backing up class files: /Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes.bak

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
-510718803

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
{"{\"organization\":\"org.scala-lang\",\"name\":\"scala-library\",\"revision\":\"2.12.15\",\"isChanging\":false,\"isTransitive\":true,\"isForce\":false,\"explicitArtifacts\":[],\"inclusions\":[],\"exclusions\":[],\"extraAttributes\":{},\"crossVersion\":{\"type\":\"Disabled\"}}":{"value":{"$fields":["path","range"],"path":"/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/build.sbt","range":{"$fields":["start","end"],"start":3,"end":4}},"type":"RangePosition"},"{\"organization\":\"org.scala-lang.modules\",\"name\":\"scala-parser-combinators\",\"revision\":\"1.1.2\",\"isChanging\":false,\"isTransitive\":true,\"isForce\":false,\"explicitArtifacts\":[],\"inclusions\":[],\"exclusions\":[],\"extraAttributes\":{},\"crossVersion\":{\"type\":\"Binary\",\"prefix\":\"\",\"suffix\":\"\"}}":{"value":{"$fields":["path","range"],"path":"/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/build.sbt","range":{"$fields":["start","end"],"start":3,"end":4}},"type":"RangePosition"}}

View file

@ -1,3 +0,0 @@
[debug] not up to date. inChanged = true, force = true
[debug] Updating ...
[debug] Done updating