Changes generated by ffe1bd9351c6487ae43251021196b1f884e40db6 #174
Workflow file for this run
This file contains hidden or 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" |