You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by to...@apache.org on 2021/03/10 21:14:18 UTC

[db-jdo] branch JDO-791 created (now 7d34626)

This is an automated email from the ASF dual-hosted git repository.

tobous pushed a change to branch JDO-791
in repository https://gitbox.apache.org/repos/asf/db-jdo.git.


      at 7d34626  JDO-791: Introduce basic GitHub action for automated TCK builds

This branch includes the following new commits:

     new 7d34626  JDO-791: Introduce basic GitHub action for automated TCK builds

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[db-jdo] 01/01: JDO-791: Introduce basic GitHub action for automated TCK builds

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tobous pushed a commit to branch JDO-791
in repository https://gitbox.apache.org/repos/asf/db-jdo.git

commit 7d346261243202b5ce3ad87c24210dbcbdd706ee
Author: Tobias Bouschen <to...@googlemail.com>
AuthorDate: Wed Mar 10 21:58:51 2021 +0100

    JDO-791: Introduce basic GitHub action for automated TCK builds
    
    Introduces a GitHub action automatically building JDO and running the
    TCK for each pull request and each push to master. This ensures that
    potential issues introduced by contributions or due to merge
    complications on master will be detected and reported automatically.
    
    The action uses the newly introduced flag to skip JNDI tests to avoid
    the dependency on external, closed-source libraries.
---
 .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..338897c
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,30 @@
+# Builds JDO and runs the TCK
+#
+# This workflow is run for every submitted pull request and every push on master
+name: Build JDO & Run TCK
+
+on:
+  push:
+    branch:
+      - 'master'
+  pull_request:
+
+jobs:
+  build:
+    name: Build JDO & Run TCK
+    runs-on: ubuntu-latest
+    defaults:
+      run:
+        shell: bash
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+        with:
+          fetch-depth: 1
+      
+      # Builds JDO & Runs the TCK
+      # Skips JNDI-related tests as they require external libraries
+      - name: Build JDO & Run TCK
+        run: |
+          mvn -Djdo.tck.skipJndi clean install