Skip to content

feat: module updates\n #247

feat: module updates\n

feat: module updates\n #247

Workflow file for this run

name: Python package
on: [push, workflow_dispatch, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- os: macos-latest
python-version: "3.8"
- os: macos-latest
python-version: "3.9"
- os: macos-latest
python-version: "3.10"
- os: macos-latest
python-version: "3.11"
- os: windows-latest
python-version: "3.8"
- os: windows-latest
python-version: "3.9"
- os: windows-latest
python-version: "3.10"
- os: windows-latest
python-version: "3.11"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install poetry
poetry install
- name: Lint with flake8
run: |
flake8 ./clone_org/ --count --max-complexity=10 --max-line-length=79 --statistics
- name: Test with pytest
run: |
poetry run pytest tests -m "not integration"
- name: Build package
run: |
poetry build