Add tests and build workflow, bump sinceVersion

This commit is contained in:
Carl-Robert Linnupuu 2023-05-01 14:08:49 +01:00
parent a7927eea56
commit 4ceca4e45e
16 changed files with 416 additions and 50 deletions

35
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,35 @@
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ '**' ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Run Tests
run: ./gradlew check
- name: Collect Tests Result
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: tests-result
path: ${{ github.workspace }}/build/reports/tests
- name: Run Plugin Verification tasks
run: ./gradlew runPluginVerifier