mirror of https://github.com/cabaletta/baritone
27 lines
410 B
YAML
27 lines
410 B
YAML
|
|
name: Tests
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 16
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: '16'
|
|
distribution: 'adopt'
|
|
|
|
- name: Grant execute permission for gradlew
|
|
run: chmod +x gradlew
|
|
|
|
- name: Executing tests
|
|
run: ./gradlew test
|
|
|