Skip to content

[TECH]: Bump pl.allegro.tech.build.axion-release from 1.15.5 to 1.17.2 #173

[TECH]: Bump pl.allegro.tech.build.axion-release from 1.15.5 to 1.17.2

[TECH]: Bump pl.allegro.tech.build.axion-release from 1.15.5 to 1.17.2 #173

name: Build and test
on:
push:
branches: [ main ]
paths:
- service-discovery-app/**
- service-discovery-ft/**
pull_request:
branches: [ main ]
paths:
- service-discovery-app/**
- service-discovery-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 Service Discovery module
run: ./gradlew --no-daemon :service-discovery-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 :service-discovery-app:test
- name: Run functional tests
run: ./gradlew --no-daemon :service-discovery-ft:cucumber