Skip to content

Commit

Permalink
Add branch CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanpadams committed Jul 30, 2021
1 parent b36ade2 commit de6a1d3
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/branch_cicd.yaml
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 -*-

0 comments on commit de6a1d3

Please sign in to comment.