feat: add support for None in values #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |