mirror of
https://github.com/aphrody-labs/msys2-devtools.git
synced 2026-10-14 04:19:12 +00:00
34 lines
676 B
YAML
34 lines
676 B
YAML
name: test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-22.04, windows-2025]
|
|
python-version: ['3.10', '3.12']
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pipx install poetry
|
|
poetry install
|
|
|
|
- name: Run tests
|
|
run: |
|
|
poetry run pytest
|
|
|
|
- name: Run flake8
|
|
run: |
|
|
poetry run flake8 .
|