chore: use github var for kurrentdb images #791
Workflow file for this run
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: Build and Run Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- trunk | |
schedule: | |
- cron: '0 0 * * 0' # Run every Sunday at midnight UTC | |
jobs: | |
build: | |
name: Build | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ 8, 11, 17 ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Sources | |
uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
with: | |
gradle-version: 8.13 | |
- name: Build | |
run: ./gradlew compileTest | |
# Tests that do not require a database connection. | |
- name: Misc tests | |
run: ./gradlew ci --tests MiscTests | |
ci: | |
needs: build | |
name: Tests (CI) | |
uses: ./.github/workflows/ci.yml | |
secrets: inherit | |
lts: | |
needs: build | |
name: Tests (LTS) | |
uses: ./.github/workflows/lts.yml | |
secrets: inherit | |
previous-lts: | |
needs: build | |
name: Tests (Previous LTS) | |
uses: ./.github/workflows/previous-lts.yml | |
secrets: inherit | |
plugins-tests: | |
needs: build | |
name: Plugins Tests | |
uses: ./.github/workflows/plugins-tests.yml | |
with: | |
image: "docker.eventstore.com/eventstore-ee/eventstoredb-commercial:24.2.0-jammy" | |
secrets: inherit |