refs #129: include date and time when a record is deleted #165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- sales-catalog-app/** | |
- sales-catalog-ft/** | |
pull_request: | |
branches: [ main ] | |
paths: | |
- sales-catalog-app/** | |
- sales-catalog-ft/** | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
default: 'debug' | |
type: choice | |
options: | |
- info | |
- warning | |
- debug | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Build app | |
run: ./gradlew --no-daemon :sales-catalog-app:build -x test | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Run unit tests | |
run: ./gradlew --no-daemon :sales-catalog-app:test | |
- name: Run functional tests | |
run: ./gradlew --no-daemon :sales-catalog-ft:cucumber |