Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create CI #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Create CI #85

wants to merge 1 commit into from

Conversation

Landlordway
Copy link

.github/workflows/CI

Copy link
Author

@Landlordway Landlordway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create CI #85

@Landlordway
Copy link
Author

#21

Copy link
Author

@Landlordway Landlordway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#21

@Landlordway
Copy link
Author

#85 (comment) diff --git a/.github/workflows/CI b/.github/workflows/CI
new file mode 100644
index 0000000..89bf50e
--- /dev/null
+++ b/.github/workflows/CI
@@ -0,0 +1,61 @@
+name: CI
+
+on:
+

  • push:
  • branches: [ master ]
  • pull_request:
  • branches: [ master ]

+jobs:
+

  • build:
  • runs-on: ubuntu-latest
  • strategy:
  •  matrix:
    
  •    java: [ 7, 8, 9, 10, 11]
    
  • steps:
    • name: Set up JDK ${{ matrix.java }}
  •  uses: actions/[email protected]
    
  •  with:
    
  •    java-version: ${{ matrix.java }}
    
    • name: Build with Maven
  •  run: mvn -B clean package
    
  • finish:
  • needs: build
  • runs-on: ubuntu-latest
  • steps:
    • name: Set up JDK 1.8
  •  uses: actions/[email protected]
    
  •  with:
    
  •    java-version: 1.8
    
    • name: Build with Maven
  •  run: mvn -B clean cobertura:cobertura coveralls:report -DrepoToken=${{ secrets.COVERALLS_TOKEN }}
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant