Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Merge pull request #44 from bigsk1/dependabot/pip/tqdm-4.66.1 #106

Merge pull request #44 from bigsk1/dependabot/pip/tqdm-4.66.1

Merge pull request #44 from bigsk1/dependabot/pip/tqdm-4.66.1 #106

Workflow file for this run

name: CI
on:
push:
branches:
- production
pull_request:
branches:
- production
jobs:
frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18.13.0
- name: Install frontend dependencies
run: npm ci --prefix chatbot-ui
- name: Build frontend
run: npm run build --prefix chatbot-ui
- name: Run frontend tests
run: npm test --prefix chatbot-ui
backend:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10.8
- name: Upgrade pip and install setuptools
run: |
pip install --upgrade pip
pip install 'setuptools==66.1.1'
- name: Install backend dependencies
run: pip install --no-cache-dir -r requirements.txt
- name: Run backend tests
run: python -m unittest discover