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 6630669  All navigation to be tested separately
6630669 is described below

commit 663066945284395618fa1dbf09af5cd8de1e8939
Author: Sebb <s...@apache.org>
AuthorDate: Tue Mar 29 13:02:52 2022 +0100

    All navigation to be tested separately
---
 .github/workflows/unittestagenda.yml               |  2 +-
 .../{unittestagenda.yml => unittestnavigation.yml} | 23 +++++-----------------
 2 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/unittestagenda.yml 
b/.github/workflows/unittestagenda.yml
index 3ce03b7..67bfe8c 100644
--- a/.github/workflows/unittestagenda.yml
+++ b/.github/workflows/unittestagenda.yml
@@ -45,4 +45,4 @@ jobs:
     - name: test agenda code
       run: |
         cd www/board/agenda
-        TEST_AO_PAGE=1 bundle exec rake
+        SKIP_NAVIGATION=1 bundle exec rake
diff --git a/.github/workflows/unittestagenda.yml 
b/.github/workflows/unittestnavigation.yml
similarity index 60%
copy from .github/workflows/unittestagenda.yml
copy to .github/workflows/unittestnavigation.yml
index 3ce03b7..b45b0ca 100644
--- a/.github/workflows/unittestagenda.yml
+++ b/.github/workflows/unittestnavigation.yml
@@ -1,11 +1,6 @@
-name: Unit test agenda
+name: Unit test navigation
+# Separate job for debugging navigation issues
 on:
-  push:
-    paths:
-      - '**/unittestagenda.yml'
-      - 'www/board/agenda/**'
-      - 'lib/**'
-
   workflow_dispatch:
 
 jobs:
@@ -13,7 +8,7 @@ jobs:
     strategy:
       fail-fast: true
       matrix:
-        os: [ubuntu-20.04, 'macos-latest']
+        os: [ubuntu-20.04]
         ruby: [2.7]
     runs-on: ${{ matrix.os }}
     steps:
@@ -34,15 +29,7 @@ jobs:
       with:
         ruby-version: ${{ matrix.ruby }}
         bundler-cache: true
-    - name: setup agenda 1
-      run: |
-        cd www/board/agenda
-        bundle install
-    - name: setup agenda 2
-      # need to run the ruby that has all the gems installed
-      run: |
-        sudo $(which ruby) -I $PWD/lib -r whimsy/asf -e "ASF::LDAP.configure"
-    - name: test agenda code
+    - name: test agenda navigation code
       run: |
         cd www/board/agenda
-        TEST_AO_PAGE=1 bundle exec rake
+        TEST_AO_PAGE=1 bundle exec rspec spec/navigation_spec.rb

Reply via email to