1a303113e9
* remove telemetry * no full git clone * add intelhex as required * no core packages * add `rich_click` as pip dependencies * remove advertisings * add intelhex as required * install scons and Pio home from github * replace "get_core_package_dir" for piohome and pioremote
48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
name: Core
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
python-version: ["3.11", "3.12", "3.13", "3.14"]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: "recursive"
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install tox
|
|
|
|
- name: Run "codespell" on Linux
|
|
if: startsWith(matrix.os, 'ubuntu')
|
|
run: |
|
|
python -m pip install codespell
|
|
make codespell
|
|
|
|
- name: Core System Info
|
|
run: |
|
|
tox -e py
|
|
|
|
- name: Python Lint
|
|
run: |
|
|
tox -e lint
|
|
|
|
- name: Integration Tests
|
|
if: ${{ matrix.python-version == '3.11' }}
|
|
run: |
|
|
tox -e testcore
|