Skip to content

Extract ElasticSearch launch into its own action, wait until ElasticSearch starts #1129

Extract ElasticSearch launch into its own action, wait until ElasticSearch starts

Extract ElasticSearch launch into its own action, wait until ElasticSearch starts #1129

Workflow file for this run

name: pr
on:
pull_request:
paths-ignore:
- 'doc/**'
- 'docs/**'
- '*.md'
jobs:
scala-2_12:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Launch elastic docker
uses: ./.github/actions/launch-elasticsearch
- name: run tests
timeout-minutes: 30
run: sbt ++2.12.20 test
scala-2_13:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Launch elastic docker
uses: ./.github/actions/launch-elasticsearch
- name: run tests
timeout-minutes: 30
run: sbt ++2.13.15 test
scala-3:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Launch elastic docker
uses: ./.github/actions/launch-elasticsearch
- name: run tests
run: sbt ++3.3.4 elastic4s-scala3/test