Skip to content

docs: record the datanodes step-2 fix in the changelog (#113) #2

docs: record the datanodes step-2 fix in the changelog (#113)

docs: record the datanodes step-2 fix in the changelog (#113) #2

Workflow file for this run

name: Lint
on:
push:
branches: [main]
paths:
- "**.py"
- ".github/workflows/lint.yml"
pull_request:
paths:
- "**.py"
- ".github/workflows/lint.yml"
jobs:
syntax-check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Byte-compile every module
run: git ls-files '*.py' | xargs python -m compileall -q
- name: Install ruff
run: pip install "ruff==0.16.1"
- name: Lint with ruff
run: ruff check .
no-chrome:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.10"
# Chrome and the network are stubbed at the moon_extract boundary, so this
# job needs neither a browser nor a display -- only the engine's own imports.
- name: Install engine dependencies
run: pip install "aiohttp>=3.9" "curl_cffi>=0.7" "pytest==8.*"
- name: A fuckingfast batch must not open a browser
run: pytest tests/ -q