Skip to content

Commit

Permalink
feat: add CI pipeline for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugofpaiva committed Jun 1, 2023
1 parent 5975d99 commit ed49547
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: GZoltar Test CI

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
build-and-test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest]
java-version: [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
fail-fast: false

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Java ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: 'zulu'

- name: Build the Project
run: mvn clean install

- name: Test GZoltar
run: |
cd com.gzoltar.systemtest
mvn clean test

0 comments on commit ed49547

Please sign in to comment.