Skip to content

Commit

Permalink
Use shared GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Dec 19, 2021
1 parent 9dfd5fd commit 711af4a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 206 deletions.
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

name: Unit Tests
name: Verify

on:
push:
Expand All @@ -25,20 +25,9 @@ on:

jobs:
build:
name: Build on MacOS
runs-on: macOS-latest
timeout-minutes: 120

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Set up JDK 17
uses: actions/setup-java@v2.4.0
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'

- name: Build with Maven
run: mvn clean install -e -B -V -nsu --no-transfer-progress -P run-its -DskipITs
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1
with:
ff-goal: 'install'
verify-goal: 'install -P run-its'
verify-fail-fast: false
60 changes: 0 additions & 60 deletions .github/workflows/maven-windows-it1.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/maven-windows-it2.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/maven.yml

This file was deleted.

4 changes: 2 additions & 2 deletions maven-failsafe-plugin/pom.xml
Expand Up @@ -41,8 +41,8 @@
<properties>
<thisPlugin>Failsafe</thisPlugin>
<thatPlugin>Surefire</thatPlugin>
<failsafe-integration-test-port>8084</failsafe-integration-test-port>
<failsafe-integration-test-stop-port>8085</failsafe-integration-test-stop-port>
<failsafe-integration-test-port>8184</failsafe-integration-test-port>
<failsafe-integration-test-stop-port>8185</failsafe-integration-test-stop-port>
</properties>

<dependencies>
Expand Down

0 comments on commit 711af4a

Please sign in to comment.