Skip to content

style: missing empty line #31

style: missing empty line

style: missing empty line #31

Workflow file for this run

name: Check codebase
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check-python:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [windows-latest, ubuntu-latest]
python-version: ["3.11"]
defaults:
run:
working-directory: python
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Lint with flake8 and test with pytest
run: |
make lint
make test
check-javascript:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [windows-latest, ubuntu-latest]
node-version: [16, 20]
defaults:
run:
working-directory: javascript
steps:
- uses: actions/checkout@v1
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm install --include=prod --include=dev
- name: Lint with eslint and test with mocha
run: |
npm run lint
npm run test