Skip to content

chore(deps): bump aws from 2.20.144 to 2.20.146 #361

chore(deps): bump aws from 2.20.144 to 2.20.146

chore(deps): bump aws from 2.20.144 to 2.20.146 #361

Workflow file for this run

name: Run Tests
on:
workflow_dispatch:
push:
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
- 'docs/**'
- 'CODEOWNERS'
- 'LICENSE'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Checkstyle:
permissions:
id-token: write
checks: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- name: Run Checkstyle
run: ./gradlew checkstyleMain checkstyleTest checkstyleTestFixtures
Unit-Tests:
runs-on: ubuntu-latest
env:
JACOCO: true
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- name: Run unit tests
uses: ./.github/actions/run-tests
with:
command: ./gradlew test jacocoTestReport
Component-Tests:
env:
JACOCO: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- name: Component Tests
uses: ./.github/actions/run-tests
with:
command: ./gradlew jacocoTestReport -DincludeTags="ComponentTest"
End-To-End-Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- name: End to End Integration Tests
uses: ./.github/actions/run-tests
with:
command: ./gradlew test -DincludeTags="EndToEndTest"
API-Tests:
env:
JACOCO: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- name: Component Tests
uses: ./.github/actions/run-tests
with:
command: ./gradlew test jacocoTestReport -DincludeTags="ApiTest"
Aws-Integration-Tests:
runs-on: ubuntu-latest
env:
S3_ACCESS_KEY_ID: root
S3_SECRET_ACCESS_KEY: password
services:
minio-source:
image: bitnami/minio:latest
ports:
- 9000:9000
env:
MINIO_ROOT_USER: root
MINIO_ROOT_PASSWORD: password
minio-destination:
image: bitnami/minio:latest
ports:
- 9002:9000
env:
MINIO_ROOT_USER: root
MINIO_ROOT_PASSWORD: password
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- name: AWS Tests
uses: ./.github/actions/run-tests
with:
command: ./gradlew -p extensions test -DincludeTags="AwsS3IntegrationTest"
Upload-Test-Report:
needs:
- Unit-Tests
- Aws-Integration-Tests
- End-To-End-Tests
- Component-Tests
permissions:
checks: write
pull-requests: write
runs-on: ubuntu-latest
if: always()
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
junit_files: "**/test-results/**/*.xml"
Upload-Coverage-Report-To-Codecov:
needs:
- Unit-Tests
- Component-Tests
- API-Tests
runs-on: ubuntu-latest
if: always()
steps:
# Sources are needed for Codecov report
- uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
path: artifacts
- name: CodeCov
uses: codecov/codecov-action@v3