Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ on:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

schedule:
- cron: "0 8 * * 1" # At 08:00 AM, only on Monday

workflow_dispatch:

jobs:
Expand Down Expand Up @@ -44,7 +46,11 @@ jobs:
pip install --user --upgrade pip setuptools six
pip3 install --user --upgrade pip setuptools six


- name: Docker Cleanup
run: |
docker image ls
docker image rm $(docker image ls -q) -f

- name: befor install -> setup.sh
run: |
./tools/travis/setup.sh
Expand All @@ -60,4 +66,4 @@ jobs:

- name: script-> test
run: |
./tools/travis/test.sh
./tools/travis/test.sh
2 changes: 1 addition & 1 deletion tools/travis/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cd $HOMEDIR
git clone https://github.com/ibm-functions/openwhisk.git openwhisk
cd openwhisk

git checkout 8d7f1dfc85b12fda81153c34a540f6c01a4780f4
git checkout 03ce08c5b3fdac1a6dd3ae59f893e07cdc8628a2

# setup the openwhisk environment
./tools/travis/setup.sh
Expand Down
7 changes: 6 additions & 1 deletion tools/travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
else
TERM=dumb ./gradlew :tests:testWithoutCredentials
fi

echo "error code {$?}"
if [[ "$?" != "0" ]]; then
cat /tmp/wsklogs/invoker0/invoker0_logs.log
cat /tmp/wsklogs/controller0/controller0_logs.log
exit 1
fi

#For some reason there no activations, maybe index not ready
#${WHISK_CLI} activation get --last