Skip to content

Add more tests

Add more tests #310

Workflow file for this run

name: Build OpenERZ
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: |
npm ci
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Linting
run: npm run lint
- name: Run tests
run: npm test
- name: Validate config
run: ./validate_config.py