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 9f9a17ab OK?
9f9a17ab is described below
commit 9f9a17ab8fc1b42ed804a2ebf2e7a522add0322e
Author: Sebb <[email protected]>
AuthorDate: Fri Jan 6 21:34:22 2023 +0000
OK?
---
.github/workflows/unittestagenda.yml | 60 +++++++++++++++---------------------
1 file changed, 24 insertions(+), 36 deletions(-)
diff --git a/.github/workflows/unittestagenda.yml
b/.github/workflows/unittestagenda.yml
index b48af660..34c66302 100644
--- a/.github/workflows/unittestagenda.yml
+++ b/.github/workflows/unittestagenda.yml
@@ -16,10 +16,8 @@ jobs:
strategy:
fail-fast: true
matrix:
- # os: [macos-latest, ubuntu-20.04, ubuntu-22.04]
- # ruby: [2.7, 3.1]
- os: [ubuntu-22.04]
- ruby: [3.1]
+ os: [macos-latest, ubuntu-20.04, ubuntu-22.04]
+ ruby: [2.7, 3.1]
# 2.7 not supported on 22.04
exclude:
- os: ubuntu-22.04
@@ -33,37 +31,27 @@ jobs:
sudo apt-get install libsasl2-dev
sudo apt-get install libyaml-dev # seems to be needed for installing
ruby since psych 5.0.0 release
if: matrix.os != 'macos-latest'
- - name: dummp setup
+ - uses: actions/setup-node@v2
+ with:
+ node-version: '14.19.1'
+ - uses: actions/checkout@v2
+ with:
+ persist-credentials: false
+ - uses: ruby/setup-ruby@v1
+ 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: |
- pwd
- ls -ld /srv
- id
sudo bash -c 'echo "\n\n" >/srv/ldap.txt'
- ls -l /srv
- # - uses: actions/setup-node@v2
- # with:
- # node-version: '14.19.1'
- # - uses: actions/checkout@v2
- # with:
- # persist-credentials: false
- # - uses: ruby/setup-ruby@v1
- # 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: |
- # ls -l /srv
- # id
- # mkdir -p /srv
- # echo "\n\n" >/srv/ldap.txt
- # echo ":ldap: ldaps://ldap-us.apache.org:636" >> .whimsy
- # sudo $(which ruby) -I $PWD/lib -r whimsy/asf -e "ASF::LDAP.configure"
- # - name: test agenda code
- # run: |
- # cd www/board/agenda
- # SKIP_NAVIGATION=1 bundle exec rake
+ echo ":ldap: ldaps://ldap-us.apache.org:636" >> .whimsy
+ sudo $(which ruby) -I $PWD/lib -r whimsy/asf -e "ASF::LDAP.configure"
+ - name: test agenda code
+ run: |
+ cd www/board/agenda
+ SKIP_NAVIGATION=1 bundle exec rake