chore(4.x): release 4.10.9-SNAPSHOT #891
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: Generator - Showcase Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- 'spring-cloud-generator/**' | |
workflow_dispatch: | |
jobs: | |
showcaseTests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Java 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Install buildozer | |
run: | | |
go install github.com/bazelbuild/buildtools/buildozer@latest | |
export PATH=$PATH:$(go env GOPATH)/bin | |
buildozer --version | |
- name: Install spring-cloud-gcp | |
# Installs spring-cloud-gcp from root, | |
# including spring-cloud-generator module | |
run: | | |
./mvnw \ | |
--batch-mode \ | |
--no-transfer-progress \ | |
--show-version \ | |
--threads 1.5C \ | |
--define maven.test.skip=true \ | |
--define maven.javadoc.skip=true \ | |
install | |
- name: Verify generation of showcase-spring-starter | |
# Runs showcase-spring-starter golden tests | |
working-directory: spring-cloud-generator | |
id: verify-showcase-spring-starter | |
run: | | |
set -x | |
set -e | |
export PATH=$PATH:$(go env GOPATH)/bin | |
buildozer --version | |
bash scripts/generate-showcase.sh | |
- name: Unit tests for showcase-spring-starter | |
# Runs showcase-spring-starter unit tests | |
working-directory: spring-cloud-generator | |
run: | | |
cd showcase/showcase-spring-starter && mvn verify |