Skip to content

[Backport 2.x] Setting JobSweeper search preference against primary shard #823

[Backport 2.x] Setting JobSweeper search preference against primary shard

[Backport 2.x] Setting JobSweeper search preference against primary shard #823

Workflow file for this run

name: Build and Test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: [11, 17]
name: Build and Test
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build and Test
run: |
./gradlew build -x bwcTestSuite
- name: Publish to Maven Local
run: |
./gradlew publishToMavenLocal
- name: Upload Coverage Report
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}