generator.ci.github.actions..github.workflows.github-actions-gradle.yml.mustache Maven / Gradle / Ivy
name: build
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || (github.ref == 'refs/heads/main' && github.sha) || github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
#--------------------------------------------------
# Build and Tests the project on Linux
#--------------------------------------------------
tests:
name: tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: 'Setup: checkout project'
uses: actions/checkout@v4
- name: 'Setup: environment'
id: setup
uses: ./.github/actions/setup
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: 'Test: run tests'
run: ./gradlew clean integrationTest --no-daemon