Skip to content

Update docusaurus version #1369

Update docusaurus version

Update docusaurus version #1369

name: Jac Extension Unit Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black flake8==3.7.9 isort
- name: Install jaseci_core
run: |
pip3 install jaseci_core/
- name: Install other deps
run: |
pip3 install mock
- name: Verify installation
run: |
jsctl
- name: Linting
continue-on-error: true
run: |
flake8 --exclude=settings.py,*migrations*,jac_parse,ci_app --max-line-length=88 --extend-ignore = E203,
- name: jac extension unit tests
if: always()
run: |
cd support/vscode_extension/jac
pytest -x