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 6693429 Still debugging GH action agenda fails
6693429 is described below
commit 66934290e3aa20df80e69571d0be4afa35a0aefe
Author: Sebb <[email protected]>
AuthorDate: Fri Mar 25 08:59:34 2022 +0000
Still debugging GH action agenda fails
lib test works, so drop from Travis
---
.github/workflows/unittestagenda.yml | 4 +++-
.travis.yml | 9 +--------
www/board/agenda/Rakefile | 3 +++
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/unittestagenda.yml
b/.github/workflows/unittestagenda.yml
index 007336f..7cc3256 100644
--- a/.github/workflows/unittestagenda.yml
+++ b/.github/workflows/unittestagenda.yml
@@ -47,5 +47,7 @@ jobs:
- name: test agenda code
run: |
cd www/board/agenda
- npm install # fails under rake
+ which -a npm || true
+ echo $PATH
+ # npm install # fails under rake
bundle exec rake
diff --git a/.travis.yml b/.travis.yml
index c3701ae..e96dc2e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,6 @@
# list of Gemfiles associated with tools to be tested
gemfile:
- www/board/agenda/Gemfile
- - lib/Gemfile
########################################################################
# VM Configuration #
@@ -21,13 +20,6 @@ os:
dist: focal
-# Additionally test lib on focal
-jobs:
- include:
- - rvm: 2.7
- dist: focal
- gemfile: lib/Gemfile
-
# add subversion on Linux and OSX
addons:
apt:
@@ -52,6 +44,7 @@ before_script:
- gem list
- ruby --version
- node --version
+ - which -a npm || true
########################################################################
# Notification #
diff --git a/www/board/agenda/Rakefile b/www/board/agenda/Rakefile
index 25f7746..d4a7721 100644
--- a/www/board/agenda/Rakefile
+++ b/www/board/agenda/Rakefile
@@ -52,6 +52,9 @@ task "touch" do
end
file 'package-lock.json' => 'package.json' do
+ # Trying to trace cause of npm install fail under GH actions
+ puts ENV['PATH']
+ sh 'which -a npm || true'
sh 'npm install'
sh 'touch package-lock.json'
sh 'npm list vue'