Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

github action Update #236

Merged
merged 3 commits into from
Apr 13, 2023
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
65 changes: 43 additions & 22 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -16,27 +16,48 @@ jobs:

Test:

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
5 changes: 2 additions & 3 deletions tools/travis/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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