Skip to content

initial commit for nodejs20 runtime #97

initial commit for nodejs20 runtime

initial commit for nodejs20 runtime #97

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Test Pull request
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "0 8 * * 1" # At 08:00 AM, only on Monday
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
steps:
# Checkout just this repo
- name: Checkout runtime repo
uses: actions/checkout@v3
# 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: Python verison
run: |
python --version
python3 --version
python3.10 --version
pip --version
pip3 --version
pip3.10 --version
- 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 || true; set -x; docker ps -a; ls -R /tmp/wsklogs ;cat /tmp/wsklogs/invoker0/invoker0_logs.log; cat /tmp/wsklogs/controller0/controller0_logs.log
- name: script-> test
run: |
./tools/travis/test.sh || true; set -x; docker ps -a; for i in $(docker ps -a --format="{{.Names}}"); do docker logs $i || true; done; ls -alhR /tmp/wsklogs; cat /tmp/wsklogs/invoker0/invoker0_logs.log; cat /tmp/wsklogs/controller0/controller0_logs.log