36 lines
940 B
YAML
36 lines
940 B
YAML
name: MR Checks
|
|
on: [ pull_request ]
|
|
|
|
jobs:
|
|
python-check:
|
|
strategy:
|
|
max-parallel: 3
|
|
matrix:
|
|
target:
|
|
- os: 'ubuntu-22.04'
|
|
triple: 'x86_64-unknown-linux-gnu'
|
|
- os: 'macos-12'
|
|
triple: 'x86_64-apple-darwin'
|
|
- os: 'windows-2022'
|
|
triple: 'x86_64-pc-windows-msvc'
|
|
python-version: ["3.10"]
|
|
fail-fast: false
|
|
runs-on: ${{ matrix.target.os }}
|
|
steps:
|
|
- name: Checkout
|
|
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 -r requirements-dev.txt
|
|
poetry --version
|
|
- name: lint
|
|
run: |
|
|
nox -s lint
|
|
- name: test build
|
|
run: |
|
|
nox -s build-exe -- --test
|