Changes generated by 7769ac5568a6b71ae4a4112b0d756218dd095303 #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gocardless/gocardless-pro-java/build | |
on: push | |
jobs: | |
test_library_jdk8: | |
runs-on: ubuntu-latest | |
container: | |
image: openjdk:8 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test | |
run: |- | |
export TERM=${TERM:-dumb} | |
./install_crypto_deps.sh | |
./gradlew test | |
- name: Save test results | |
run: |- | |
mkdir -p ~/junit | |
find . -type f -regex "$OUT_DIR/build/test-results/test/.*xml" -exec cp {} ~/junit/ \; | |
if: always() | |
- uses: actions/upload-artifact@v2 | |
with: | |
path: "~/junit" | |
- uses: actions/upload-artifact@v2 | |
with: | |
path: "~/junit" | |
test_library_jdk9: | |
runs-on: ubuntu-latest | |
container: | |
image: openjdk:9 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test | |
run: |- | |
export TERM=${TERM:-dumb} | |
./install_crypto_deps.sh | |
./gradlew test | |
- name: Save test results | |
run: |- | |
mkdir -p ~/junit | |
find . -type f -regex "$OUT_DIR/build/test-results/test/.*xml" -exec cp {} ~/junit/ \; | |
if: always() | |
- uses: actions/upload-artifact@v2 | |
with: | |
path: "~/junit" | |
- uses: actions/upload-artifact@v2 | |
with: | |
path: "~/junit" | |
test_library_jdk11: | |
runs-on: ubuntu-latest | |
container: | |
image: openjdk:11 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test | |
run: |- | |
export TERM=${TERM:-dumb} | |
./install_crypto_deps.sh | |
./gradlew test | |
- name: Save test results | |
run: |- | |
mkdir -p ~/junit | |
find . -type f -regex "$OUT_DIR/build/test-results/test/.*xml" -exec cp {} ~/junit/ \; | |
if: always() | |
- uses: actions/upload-artifact@v2 | |
with: | |
path: "~/junit" | |
- uses: actions/upload-artifact@v2 | |
with: | |
path: "~/junit" |