GH-370: Enable ScriptProcessor tests back (#419)
* GH-370: Enable ScriptProcessor tests back Fixes https://github.com/spring-cloud/stream-applications/issues/370 * Update dependencies for `script-processor` * Add `maven-surefire-plugin` to `script-processor` POM and specify `--add-opens` for Ruby requirements * Mark all JavaScript tests with `@EnabledIfSystemProperty` against `org.graalvm.language.js.home` which is available only if GraalVM with `js` component enabled * Fix `NewlineAtEndOfFile` rule for Checkstyle since on Windows the line end is `crlf` * Add `components: 'js'` to GraalVM installation steps for all the GH action scripts * * Add dependencies for `graal-sdk` and `org.graalvm.js` to make JavaScript working on a plain JVM
This commit is contained in:
2
.github/workflows/ci-pr.yml
vendored
2
.github/workflows/ci-pr.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
with:
|
||||
version: 'latest'
|
||||
java-version: '17'
|
||||
# components: 'native-image' # add when starting native builds.
|
||||
components: 'js'
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: 'Configure: cache for maven dependencies'
|
||||
uses: actions/cache@v3
|
||||
|
||||
10
.github/workflows/common.yml
vendored
10
.github/workflows/common.yml
vendored
@@ -186,7 +186,7 @@ jobs:
|
||||
with:
|
||||
version: 'latest'
|
||||
java-version: ${{ needs.parameters.outputs.jdk_build }}
|
||||
# components: 'native-image' # add when starting native builds.
|
||||
components: 'js'
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: 'Configure: cache for maven dependencies'
|
||||
uses: actions/cache@v3
|
||||
@@ -277,7 +277,7 @@ jobs:
|
||||
with:
|
||||
version: 'latest'
|
||||
java-version: ${{ needs.parameters.outputs.jdk_build }}
|
||||
# components: 'native-image' # add when starting native builds.
|
||||
components: 'js'
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: 'Configure: cache for maven dependencies'
|
||||
uses: actions/cache@v3
|
||||
@@ -357,7 +357,7 @@ jobs:
|
||||
with:
|
||||
version: 'latest'
|
||||
java-version: ${{ needs.parameters.outputs.jdk_build }}
|
||||
# components: 'native-image' # add when starting native builds.
|
||||
components: 'js'
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: 'Configure: cache for maven dependencies'
|
||||
uses: actions/cache@v3
|
||||
@@ -437,7 +437,7 @@ jobs:
|
||||
with:
|
||||
version: 'latest'
|
||||
java-version: ${{ needs.parameters.outputs.jdk_build }}
|
||||
# components: 'native-image' # add when starting native builds.
|
||||
components: 'js'
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: 'Configure: cache for maven dependencies'
|
||||
uses: actions/cache@v3
|
||||
@@ -514,7 +514,7 @@ jobs:
|
||||
with:
|
||||
version: 'latest'
|
||||
java-version: ${{ needs.parameters.outputs.jdk_build }}
|
||||
# components: 'native-image' # add when starting native builds.
|
||||
components: 'js'
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: 'Configure: cache for maven dependencies'
|
||||
uses: actions/cache@v3
|
||||
|
||||
Reference in New Issue
Block a user