Changes generated by 98656df793ba39dd79f2e3d9b33c5a2d14db1cd4 #175
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" |