You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2021/01/30 01:54:29 UTC
[datasketches-java] 01/04: Add rat excludes for *.yaml, *.yml
This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git
commit d41ab157e8c803b3c19502cffacbc246edea2e2d
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Fri Jan 29 14:51:15 2021 -0800
Add rat excludes for *.yaml, *.yml
---
.github/workflows/maven.yml | 29 +++++++++++++++++++++++++++++
pom.xml | 3 ++-
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 0000000..94a1e45
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,29 @@
+name: Java CI with Maven, Coveralls
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ env: MAVEN_OPTS="-Xmx4g -Xms1g"
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8 #OR 8.0.212 | 16.0.0-ea.28 (.28 is build #)
+
+ - name: Maven clean test
+ run: mvn clean test jacoco:report coveralls:report -q -Dgpg.skip=true -DisDebugEnabled=true --batch-mode
+
+ - name: Coveralls
+ uses: coverallsapp/github-action@master
+ with:
+ github-token: ${{ secrets.github_token }}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 8ea0306..c8002ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -297,7 +297,8 @@ under the License.
<useDefaultExcludes>true</useDefaultExcludes>
<excludes>
<!-- rat uses .gitignore for excludes by default -->
- <exclude>.asf.yaml</exclude>
+ <exclude>**/*.yaml</exclude>
+ <exclude>***/*.yml</exclude>
<exclude>**/test/resources/**/*.txt</exclude>
<exclude>LICENSE</exclude>
<exclude>NOTICE</exclude>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org