Skip to content

Commit

Permalink
[playframework#1371] run on push envent
Browse files Browse the repository at this point in the history
  • Loading branch information
xael-fry committed Jan 31, 2022
1 parent 6dabc53 commit 55a8700
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Pull Requests

on:
push:
pull_request:

concurrency:
# Only run once for latest commit per ref and cancel other (previous) runs.
group: ci-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: true

jobs:
build:
Expand All @@ -15,25 +16,25 @@ jobs:
strategy:
matrix:
jdk: [ 11, 17 ]
name: Check / Tests (JDK ${{ matrix.jdk }})
name: Check / Tests (JDK ${{ matrix.jdk }})
steps:
- name: Checkout
uses: actions/checkout@v2
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0

- name: Set up python 2
uses: actions/setup-python@v2
with:
python-version: '2.x'
architecture: 'x64'

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

- name: Build with Ant
run: ant -buildfile ./framework/build.xml test

0 comments on commit 55a8700

Please sign in to comment.