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

ntimofeev pushed a commit to branch github-action-test
in repository https://gitbox.apache.org/repos/asf/cayenne.git


The following commit(s) were added to refs/heads/github-action-test by this 
push:
     new 7177ab8d6 Test GitHub actions
7177ab8d6 is described below

commit 7177ab8d6b74004d7988eb0a4129be543fbce6e2
Author: Nikita Timofeev <stari...@gmail.com>
AuthorDate: Thu Nov 10 17:20:38 2022 +0300

    Test GitHub actions
---
 .github/workflows/verify-deploy-on-push.yml                    |  2 +-
 .../workflows/{verify-deploy-on-push.yml => verify-on-pr.yml}  | 10 +++-------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/verify-deploy-on-push.yml 
b/.github/workflows/verify-deploy-on-push.yml
index d3ea98793..9f64c707a 100644
--- a/.github/workflows/verify-deploy-on-push.yml
+++ b/.github/workflows/verify-deploy-on-push.yml
@@ -37,7 +37,7 @@ jobs:
 
     steps:
       - name: Checkout repository
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Setup java
         uses: actions/setup-java@v3
diff --git a/.github/workflows/verify-deploy-on-push.yml 
b/.github/workflows/verify-on-pr.yml
similarity index 86%
copy from .github/workflows/verify-deploy-on-push.yml
copy to .github/workflows/verify-on-pr.yml
index d3ea98793..177880e77 100644
--- a/.github/workflows/verify-deploy-on-push.yml
+++ b/.github/workflows/verify-on-pr.yml
@@ -15,29 +15,25 @@
 
 name: build and test
 
-on: [push]
+on: [pr]
 
 jobs:
 
   test:
     runs-on: ubuntu-latest
     name: JDK ${{ matrix.jdk }}, DB ${{ matrix.db-profile }}
-    continue-on-error: ${{ matrix.jdk == '19' }}
     if: github.repository == 'apache/cayenne'
     strategy:
       matrix:
         jdk: [11, 17]
         db-profile: [hsql, h2, derby, mysql-tc, postgres-tc, sqlserver-tc]
-        include:
-          - jdk: 19
-            db-profile: postgres-tc
-      fail-fast: false # finish all jobs anyway
+      fail-fast: true
     env:
       JDK_VERSION: ${{ matrix.jdk }}
 
     steps:
       - name: Checkout repository
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Setup java
         uses: actions/setup-java@v3

Reply via email to