port remaining workflow jobs
@@ -39,3 +39,57 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- run: mvn install -pl \!tests/acceptance-test -P reduce-logging -o
+
+ gradleBuild:
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 11
+ - uses: actions/cache@v1
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
+ - run: ./gradlew build
+
+ itest:
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 11
+ - uses: actions/cache@v1
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
+ - run: mvn verify -pl tests/acceptance-test -P reduce-logging -o
+
+
+ vaultTests:
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 11
+ - uses: actions/cache@v1
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
+ - run: |
+ wget https://releases.hashicorp.com/vault/1.2.2/vault_1.2.2_linux_amd64.zip -O /tmp/vault_1.2.2_linux_amd64.zip
+ mkdir -p vault/bin && pushd $_
+ unzip /tmp/vault_1.2.2_linux_amd64.zip
+ export PATH=$PATH:$PWD && popd
+ mvn verify -pl tests/acceptance-test -P vault-acceptance-tests,reduce-logging -o
\ No newline at end of file
