Skip to content

Commit

Permalink
Merge pull request #179 from groovy/gh_actions
Browse files Browse the repository at this point in the history
Switch from Travis to GH Actions
  • Loading branch information
keeganwitt authored Nov 9, 2020
2 parents e8caa66 + 8f456fd commit f97be60
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 14 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: GitHub CI

on: [push]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: jdk setup
uses: actions/setup-java@v1
with:
java-version: 11
java-package: jdk
architecture: x64
# - name: unit test
# run: ./mvnw --batch-mode --activate-profiles indy clean test
# - name: integration test
# run: ./mvnw --batch-mode --activate-profiles indy -Dmaven.test.skip=true clean install invoker:install invoker:run
- name: full test
run: ./mvnw --batch-mode --activate-profiles indy clean install invoker:install invoker:run
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion integrationTest.groovy → integrationTestSuite.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ for (int i = 0; i < groovyVersions.size(); i++) {
quietlyRunCommand "${mvn()} -B clean"

void testVersion() {
def exitCode = runCommand "${mvn()} -B -P ${profiles} -Dinvoker.streamLogs=true ${properties} invoker:run"
def exitCode = runCommand "${mvn()} --batch-mode --activate-profiles ${profiles} -Dinvoker.streamLogs=true ${properties} invoker:run"
os.flush()
os.close()
if (exitCode != 0) {
Expand Down

0 comments on commit f97be60

Please sign in to comment.