Commit 34de3e1
committed
CI: don't cache sbt state so tests actually run every time
sbt 2.x's `test` is incremental (delegates to testQuick) and its 'already succeeded' record
survives `clean` and was being restored by setup-java's cache:sbt -> CI skipped the whole
suite ('No tests to run') on any run that didn't change sources. Cache only the dependency
artifacts (~/.ivy2/cache, ~/.cache/coursier); don't restore sbt's global state, so every CI
run executes the full test suite cold.1 parent 5db3765 commit 34de3e1
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
21 | 30 | | |
22 | 31 | | |
23 | 32 | | |
| |||
0 commit comments