Support custom headers. #694
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] | |
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@v3 | |
- 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@v2 | |
with: | |
gradle-version: 7.4 | |
- name: Build | |
run: ./gradlew compileTest | |
# Tests that do not require a database connection. | |
- name: Misc tests | |
run: ./gradlew ci --tests MiscTests | |
tests: | |
needs: build | |
name: Tests | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [previous-lts, lts, latest, ci] | |
uses: ./.github/workflows/tests.yml | |
with: | |
esdb_version: ${{ matrix.version }} | |
plugins-tests: | |
needs: build | |
name: Plugins Tests | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [24.2.0-jammy] | |
uses: ./.github/workflows/plugins-tests.yml | |
with: | |
esdb_version: ${{ matrix.version }} | |
secrets: inherit |