fix(deps): update dependency io.micronaut.testresources:micronaut-test-resources-bom to v2.6.2 #817
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: Azure CI | |
on: | |
push: | |
branches: | |
- master | |
- '[1-9]+.[0-9]+.x' | |
paths: | |
- 'object-storage-azure/**' | |
- 'object-storage-core/**' | |
- 'object-storage-tck/**' | |
pull_request: | |
branches: | |
- master | |
- '[1-9]+.[0-9]+.x' | |
paths: | |
- 'gradle/**' | |
- 'object-storage-azure/**' | |
- 'object-storage-core/**' | |
- 'object-storage-tck/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: ['17'] | |
steps: | |
# https://github.com/actions/virtual-environments/issues/709 | |
- name: Free disk space | |
run: | | |
sudo rm -rf "/usr/local/share/boost" | |
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | |
sudo apt-get clean | |
df -h | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java }} | |
- name: Build with Gradle | |
run: | | |
./gradlew :micronaut-object-storage-azure:test --no-daemon --parallel --continue | |
env: | |
TESTCONTAINERS_RYUK_DISABLED: true | |
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }} | |
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} | |
PREDICTIVE_TEST_SELECTION: "${{ github.event_name == 'pull_request' && 'true' || 'false' }}" | |
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }} | |
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} | |
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }} | |
AZURE_TEST_STORAGE_ACCOUNT_ENDPOINT: ${{ secrets.AZURE_TEST_STORAGE_ACCOUNT_ENDPOINT }} | |
- name: Publish Test Report | |
if: always() | |
uses: mikepenz/[email protected] | |
with: | |
check_name: Java CI / Test Report (${{ matrix.java }}) | |
report_paths: '**/build/test-results/test/TEST-*.xml' | |
check_retries: 'true' |