Skip to content

Commit

Permalink
Merge pull request #1377 from xael-fry/1371_github-actions
Browse files Browse the repository at this point in the history
[#1371] run on push envent
  • Loading branch information
xael-fry committed Jan 31, 2022
2 parents 316739b + 4b1d672 commit 30b3a1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 33 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
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

0 comments on commit 30b3a1d

Please sign in to comment.