Skip to content

Commit

Permalink
Initial setup for migrating from Travis to Github Actions.
Browse files Browse the repository at this point in the history
Closes google#1456

ORIGINAL_AUTHOR=Carl Dea <[email protected]>
PiperOrigin-RevId: 353906843
  • Loading branch information
java-team-github-bot authored and markmarch committed Jan 26, 2021
1 parent 2157fa9 commit 345316a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: continuous-integration

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

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
java: [8, 11]
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}

- name: Verify with Maven
run: mvn -B -P!standard-with-extra-repos verify --fail-at-end -Dsource.skip=true -Dmaven.javadoc.skip=true

0 comments on commit 345316a

Please sign in to comment.