Skip to content

Updated ABSTRACTION.md with detailed plane analysis #31

Updated ABSTRACTION.md with detailed plane analysis

Updated ABSTRACTION.md with detailed plane analysis #31

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 35, Col: 5): Unexpected value 'python-version'
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-asyncio
- name: Run tests
run: python -m pytest tests/test_server.py -v
lint:
runs-on: ubuntu-latest
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Lint with flake8
run: |
# Stop the build if there are Python syntax errors or undefined names
flake8 server.py mud_extensions.py lcar_cartridge.py lcar_scheduler.py lcar_tender.py --count --select=E9,F63,F7,F82 --show-source --statistics
# Warnings as informational (don't fail)
flake8 server.py mud_extensions.py lcar_cartridge.py lcar_scheduler.py lcar_tender.py --count --exit-zero --max-complexity=15 --max-line-length=120 --statistics