24 lines
500 B
YAML
24 lines
500 B
YAML
name: Test Installation
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test-syntax:
|
|
name: Test Python Syntax
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- name: Check syntax
|
|
run: |
|
|
python -m py_compile __init__.py
|
|
python -m py_compile nodes/*.py
|
|
python -m py_compile utils/*.py
|