Fix unit tests. #193
Annotations
3 errors and 2 warnings
CentralCacheTests.clean_cache_listens_to_project_property_for_size:
userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/CentralCacheTests.groovy#L74
Condition failed with Exception:
new File(tempDir, ".caches-global").listFiles().size() > 4
| | | |
| | null java.lang.NullPointerException: Cannot invoke method size() on null object
| | at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
| /var/folders/lr/439_fwvd3m76p9vy50d57kcc0000gn/T/spock_clean_cache_listens_0_tempDir6578036796419297049
/var/folders/lr/439_fwvd3m76p9vy50d57kcc0000gn/T/spock_clean_cache_listens_0_tempDir6578036796419297049/.caches-global
|
CentralCacheTests.clean_cache_listens_to_project_property_for_size:
userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/CentralCacheTests.groovy#L74
Condition failed with Exception:
new File(tempDir, ".caches-global").listFiles().size() > 4
| | | |
| | null java.lang.NullPointerException: Cannot invoke method size() on null object
| | at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
| /tmp/spock_clean_cache_listens_0_tempDir14044178017373998899
/tmp/spock_clean_cache_listens_0_tempDir14044178017373998899/.caches-global
|
CentralCacheTests.clean_cache_listens_to_project_property_for_size:
userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/CentralCacheTests.groovy#L74
Condition failed with Exception:
new File(tempDir, ".caches-global").listFiles().size() > 4
| | | |
| | null java.lang.NullPointerException: Cannot invoke method size() on null object
| | at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
| C:\Users\RUNNER~1\AppData\Local\Temp\spock_clean_cache_listens_0_tempDir8882045346617165859
C:\Users\RUNNER~1\AppData\Local\Temp\spock_clean_cache_listens_0_tempDir8882045346617165859\.caches-global
|
build / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: gradle/gradle-build-action@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "maven-publish".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
maven-publish
Expired
|
1.72 MB |
|