Skip to content

Add support to seek beyond end of stream (#192) #33

Add support to seek beyond end of stream (#192)

Add support to seek beyond end of stream (#192) #33

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Build and run integration tests
on:
push:
branches:
- main
- cicd-builds
env:
S3_TEST_REGION : ${{ vars.S3_TEST_REGION }}
S3_TEST_BUCKET : ${{ vars.S3_TEST_BUCKET }}
S3_TEST_PREFIX : ${{ vars.S3_TEST_PREFIX }}
ROLE_TO_ASSUME: ${{ secrets.S3_TEST_ASSUME_ROLE_ARN }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle 8.7
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.7
- name: Configure aws credentials
uses: aws-actions/[email protected]
with:
role-to-assume: ${{ env.ROLE_TO_ASSUME }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
aws-region: ${{ env.S3_TEST_REGION }}
- name: Build with Gradle Wrapper
run: ./gradlew integrationTest