From d37518d59fb33f9a41c09c28ce7620cd044389b8 Mon Sep 17 00:00:00 2001 From: Luke Roy Date: Thu, 13 Apr 2023 08:27:29 +0200 Subject: [PATCH 1/3] github action Update --- .github/workflows/run-tests.yml | 67 ++++++++++++++++++++++----------- 1 file changed, 44 insertions(+), 23 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 2518fff..870e519 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: Python Runtimes Build and Test +name: Test Pull request # Controls when the workflow will run on: @@ -14,29 +14,50 @@ on: jobs: - Test: + build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - - name: Check out the repo - uses: actions/checkout@v2 - - - name: update ca certificates - run: sudo update-ca-certificates --fresh - - - name: Setup - run: ./tools/travis/setup.sh + # Checkout just this repo + - name: Checkout runtime repo + uses: actions/checkout@v3 - - name: Fix Old ansible - run: python -m pip install --user ansible==2.8.18 - - - name: Build - run: ./tools/travis/build.sh - - - name: Deploy - run: ./tools/travis/deploy.sh - - - name: Test - run: ./tools/travis/test.sh - + # Setup Python to run the Scala Tests + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + # Setup Java to run the Scala Tests + - name: Setup Java + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '11' + + - name: befor install -> install python3-pip + run: sudo apt-get install -y python3-pip + + - name: befor install -> upgrade pip setuptools six + run: | + pip install --user --upgrade pip setuptools six + pip3 install --user --upgrade pip setuptools six + + + - name: befor install -> setup.sh + run: | + ./tools/travis/setup.sh + + - name: script -> build + run: | + ./tools/travis/build.sh + + - name: script -> deploy + run: | + pip install --user jinja2==3.0.3 + ./tools/travis/deploy.sh + + - name: script-> test + run: | + ./tools/travis/test.sh \ No newline at end of file From 665661abae91a49476e1c09f38d96beede449fcf Mon Sep 17 00:00:00 2001 From: Luke Roy Date: Thu, 13 Apr 2023 08:35:32 +0200 Subject: [PATCH 2/3] Use Test as job name --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 870e519..6ec7783 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,7 +14,7 @@ on: jobs: - build: + Test: runs-on: ubuntu-20.04 From ee449efa8d671ff536b993d8ec2122754ba11e95 Mon Sep 17 00:00:00 2001 From: Luke Roy Date: Thu, 13 Apr 2023 09:18:16 +0200 Subject: [PATCH 3/3] use updated OW --- tools/travis/setup.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh index 27e42e4..8a24b73 100755 --- a/tools/travis/setup.sh +++ b/tools/travis/setup.sh @@ -13,9 +13,8 @@ cd $HOMEDIR # Clone and setup openwhisk to have a local test environment. git clone https://github.com/ibm-functions/openwhisk.git openwhisk cd openwhisk -# Use a fixed commit to run the tests, to explicitly control when changes are consumed. -# Commit: minor version bump of azure-storage-blob to fix builds (#5150) -git checkout 92f5d870bdecf01ccf0bf46baac582955fdbdfa6 + +git checkout 8d7f1dfc85b12fda81153c34a540f6c01a4780f4 # setup the openwhisk environment ./tools/travis/setup.sh pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy