Skip to content

Commit

Permalink
[ISSUE openmessaging#213] Say github action to run tests (openmessagi…
Browse files Browse the repository at this point in the history
…ng#228)

* Say github action to run tests

* Add types for pull requests
  • Loading branch information
RongtongJin authored Sep 9, 2022
1 parent 1198d45 commit 1e04237
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 23 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches: [ "master" ]
pull_request:
types: [ opened, reopened, synchronize ]
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit 1e04237

Please sign in to comment.