Skip to content

Commit

Permalink
Create github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
stasya05 authored Dec 20, 2021
1 parent ad69d74 commit a080e71
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches: [ master, test ]
pull_request:
branches:
- "**"


workflow_dispatch:

jobs:

build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
server-id: github
settings-path: ${{ github.workspace }}

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Run jUnit test
run: mvn test

0 comments on commit a080e71

Please sign in to comment.