Skip to content

Symlink for BinEd #1422

Symlink for BinEd

Symlink for BinEd #1422

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
# Checks relating to the linting of files
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: pip3 install flake8
- name: Check PEP8 compliance
run: find . -name "*.py" | xargs flake8 $1
- name: Check mdl compliance
uses: articulate/[email protected]
with:
config: .github/workflows/markdownlint-config.json
ignore: LICENSE
- name: Check .editorconfig compliance
uses: editorconfig-checker/action-editorconfig-checker@v1
# Checks relating to the database
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: pip3 install jsonschema
- name: Check database
run: |
python3 ./tests/schema.py
python3 ./tests/db_entry.py
python3 ./tests/icons_entry.py
python3 ./tests/ordered_db.py
python3 ./tests/icon_cache.py
python3 ./tests/duplicates.py