Skip to content

add: GitHub Actions CI #2

add: GitHub Actions CI

add: GitHub Actions CI #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=.venv,migrations
- name: Check imports
run: |
python -c "import gateway; print('gateway OK')" || true
python -c "import runtime; print('runtime OK')" || true