-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b36ade2
commit de6a1d3
Showing
1 changed file
with
48 additions
and
0 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,48 @@ | ||
# 🏃♀️ Continuous Integration and Delivery: Branch Testing | ||
# ====================================================== | ||
|
||
|
||
--- | ||
|
||
name: 🔁 Branch integration testing | ||
|
||
|
||
# Driving Event | ||
# ------------- | ||
# | ||
# What event starts this workflow: a push to any branch other than main | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
- '!main' | ||
|
||
|
||
# What to Do | ||
# ---------- | ||
# | ||
# Test the software with mvn test | ||
|
||
jobs: | ||
branch_testing: | ||
name: 🧩 Branch Testing | ||
runs-on: ubuntu-latest | ||
if: github.actor != 'pdsen-ci' | ||
|
||
strategy: | ||
matrix: | ||
java-version: [8, 11] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up OpenJDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: ${{ matrix.java-version }} | ||
|
||
- name: Test Software | ||
run: mvn test | ||
|
||
# -*- mode: yaml; indent: 4; fill-column: 120; coding: utf-8 -*- |