Skip to content

Add ApexChart based visualizations #4662

Add ApexChart based visualizations

Add ApexChart based visualizations #4662

Workflow file for this run

name: unit-tests
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
# Backend tests (Python/Flask)
Python:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
python-version: ['3.8', '3.10']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pipenv
pipenv install -d
pipenv install -r test_requirements.txt
- name: Run unit tests
run: |
pipenv run python run_tests.py
# Frontend tests (VueJS)
VueJS:
runs-on: ubuntu-latest
defaults:
run:
working-directory: timesketch/frontend-ng
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
node-version: ["18"]
steps:
- uses: actions/checkout@v2
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
yarn install
- name: Run unit tests with yarn
run: yarn run test