forked from oracle/coherence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COH-21564 - Create Tests for REST Examples using Rest Assured (ce-mai…
…n -> ce-20.06 @80506) [git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v20.06/": change = 80507]
- Loading branch information
1 parent
52e0315
commit 2005c03
Showing
3 changed files
with
429 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 2020 Oracle Corporation and/or its affiliates. All rights reserved. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at | ||
# http://oss.oracle.com/licenses/upl. | ||
|
||
# This workflow will build and test the examples | ||
|
||
name: Build and Test Examples | ||
|
||
on: | ||
push: | ||
branches: [ v20.06 ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Java 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
|
||
- name: Cache Maven packages | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
|
||
- name: Build Coherence With Maven | ||
shell: bash | ||
env: | ||
MAVEN_USER: ${{ secrets.MavenUser }} | ||
MAVEN_PASSWORD: ${{ secrets.MavenPassword }} | ||
run: | | ||
export DEV_ROOT=$(pwd) | ||
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/synoki.xml -DskipTests clean install | ||
- name: Test Examples | ||
shell: bash | ||
env: | ||
MAVEN_USER: ${{ secrets.MavenUser }} | ||
MAVEN_PASSWORD: ${{ secrets.MavenPassword }} | ||
run: | | ||
echo "Testing REST Example" | ||
mvn -B --file examples/rest/pom.xml -s .github/maven/synoki.xml clean verify |
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
Oops, something went wrong.