Skip to content

Example JSON

Example JSON #19

Workflow file for this run

name: Tests
on:
push:
branches: [main, devel]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov toml flake8 black mypy lxml tomlkit pyyaml
pip install -e .
- name: Run tests
run: sh tests/run_tests_with_coverage.sh
- name: Run mypy
run: mypy alterx || true
- name: Run flake8
run: flake8 --ignore=E501 || true