Skip to content

Workflow file for this run

name: Python CI
on:
push:
pull_request:
branches:
- main
jobs:
backend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: python ./init-server.py typescript
- name: Start the backend
run: python src/model_server/server.py
extension:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: install Node packages
run: yarn install
- name: package extension to VSIX
run: yarn package