Skip to content

[Distributed] Start distributed migration #295

[Distributed] Start distributed migration

[Distributed] Start distributed migration #295

Workflow file for this run

# SPDX-FileCopyrightText: (C) The kokkos-fft development team, see COPYRIGHT.md file
#
# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
name: CI (python)
on:
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and package with test extras
run: |
python -m pip install --upgrade pip
pip install hatch
cd python_scripts && hatch build && pip install .
- name: Analysing the code with pylint
run: |
pylint --rcfile=python_scripts/.pylintrc $(git ls-files 'examples/**/*.py' 'python_scripts/*.py')
- name: Test with pytest
run: pytest examples/09_derivative python_scripts
- name: Check versions information in docs
run: |
python python_scripts/check_versions.py