chore(deps): bump software.momento.java:sdk from 1.19.0 to 1.21.0 in /examples #14
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: Retry Tests | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
MOMENTO_API_KEY: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }} | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'corretto' | |
- name: Build project | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: clean build | |
- name: Start Momento Local | |
run: | | |
docker run -d -p 8080:8080 gomomento/momento-local | |
- name: Build and test with Momento Local | |
env: | |
MOMENTO_PORT: 8080 | |
run: make test-retries | |
- name: Clean up Docker Container | |
if: always() | |
run: | | |
docker rm -f momento-local || true |