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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c17945  Add agenda test
8c17945 is described below

commit 8c17945b1d301f75883057cdeb83f1fa60e5d0cb
Author: Sebb <s...@apache.org>
AuthorDate: Wed Mar 23 11:27:09 2022 +0000

    Add agenda test
---
 .github/workflows/{unittest.yml => unittestagenda.yml} | 12 +++++++++---
 .github/workflows/{unittest.yml => unittestlib.yml}    |  7 ++++++-
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/unittest.yml 
b/.github/workflows/unittestagenda.yml
similarity index 69%
copy from .github/workflows/unittest.yml
copy to .github/workflows/unittestagenda.yml
index 6f3c7bc..394a317 100644
--- a/.github/workflows/unittest.yml
+++ b/.github/workflows/unittestagenda.yml
@@ -1,5 +1,11 @@
-name: Unit tests
+name: Unit test agenda
 on:
+  push:
+    paths:
+      - '**/unitestagenda.yml'
+      - 'www/board/agenda/**'
+      - 'lib/**'
+
   workflow_dispatch:
 
 jobs:
@@ -16,8 +22,8 @@ jobs:
       with:
         ruby-version: ${{ matrix.ruby }}
         bundler-cache: true
-    - name: test library code
+    - name: test agenda code
       run: |
-        cd lib
+        cd www/board/agenda
         bundle install
         bundle exec rake
diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittestlib.yml
similarity index 82%
rename from .github/workflows/unittest.yml
rename to .github/workflows/unittestlib.yml
index 6f3c7bc..ac8c113 100644
--- a/.github/workflows/unittest.yml
+++ b/.github/workflows/unittestlib.yml
@@ -1,5 +1,10 @@
-name: Unit tests
+name: Unit test library methods
 on:
+  push:
+    paths:
+      - '**/unitestlib.yml'
+      - 'lib/**'
+
   workflow_dispatch:
 
 jobs:

Reply via email to