Changes generated by 1327fe5f2e6ef39c25be517d04383814a48ed194 #165
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" |