Skip to content

feat(eventsourcing): move aggregate id scanning to EventStore #8919

feat(eventsourcing): move aggregate id scanning to EventStore

feat(eventsourcing): move aggregate id scanning to EventStore #8919

#
# Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)].
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Integration Test
on:
pull_request:
paths:
- '.github/workflows/integration-test.yml'
- 'build.gradle.kts'
- 'settings.gradle.kts'
- 'gradle.properties'
- 'gradlew'
- 'gradle/**'
- 'config/**'
- 'wow-dependencies/**'
- 'wow-api/**'
- 'wow-core/**'
- 'wow-query/**'
- 'wow-spring/**'
- 'wow-mongo/**'
- 'wow-redis/**'
- 'wow-kafka/**'
- 'wow-elasticsearch/**'
- 'test/wow-tck/**'
- 'test/wow-test/**'
- 'test/wow-it/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
env:
CI: GITHUB_ACTIONS
jobs:
integration-test:
name: Integration Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
server-id: github
cache: gradle
settings-path: ${{ github.workspace }}
- name: Run integration tests with coverage
run: ./gradlew allIntegrationTest :code-coverage-report:integrationCoverageReport --stacktrace
- name: Upload integration coverage
uses: codecov/codecov-action@v7
if: success()
with:
use_oidc: true
flags: integration
name: integration-tests
fail_ci_if_error: true
verbose: true
disable_search: true
files: ./test/code-coverage-report/build/reports/jacoco/integrationCoverageReport/integrationCoverageReport.xml