Skip to content

Run tests on PR

Run tests on PR #5

Workflow file for this run

name: Run tests on PR
on:
pull_request:
branches: [ "master" ]
release:
types: [ published ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '11'
cache: 'gradle'
- name: Run tests
env:
BRAWL_STARS_API_KEY: ${{ secrets.BRAWL_STARS_API_KEY }}
run: ./gradlew jvmTest --no-daemon