support SQS init from env, and use of temp session credentials #248
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: Java CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Install SDKMan | |
run: | | |
curl -s "https://get.sdkman.io" | bash | |
source "$HOME/.sdkman/bin/sdkman-init.sh" | |
sdk version | |
- name: Install Groovy 3.0.10 | |
run: | | |
source "$HOME/.sdkman/bin/sdkman-init.sh" | |
sdk install groovy 3.0.10 | |
groovy --version | |
- name: Build with Gradle | |
run: ./gradlew dist -x test | |
- name: Run Unit Tests | |
run: ./gradlew test | |
- name: Execute Functional Tests | |
run: cd tests && ./run.sh |