Skip to content

New release version v1.2.0 with Python 3.7 EOL #40

New release version v1.2.0 with Python 3.7 EOL

New release version v1.2.0 with Python 3.7 EOL #40

Workflow file for this run

name: Lint, Build, Install, Test
on:
push:
branches:
- master
tags-ignore:
- '*'
paths:
- 'example/**'
- 'skntk/**'
- 'tests/**'
- 'pyproject.toml'
pull_request:
paths:
- 'example/**'
- 'skntk/**'
- 'tests/**'
- 'pyproject.toml'
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setting up latest stable Python version
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Installing dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Analyzing files using flake8 with options
run: |
flake8 . --max-line-length=100 --show-source --statistics --ignore=F401,W504
ci:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev']
poetry-version: ['1.2.2']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setting up Python version ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Running Poetry image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Building scikit-ntk
run: |
poetry build
- name: Installing dependencies
run: |
python -m pip install --upgrade pip
poetry install --with dev
- name: Testing scikit-ntk
run: |
poetry run pytest