Skip to content

style: apply ruff format to src/datamorph/cli.py #40

style: apply ruff format to src/datamorph/cli.py

style: apply ruff format to src/datamorph/cli.py #40

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: "3.12"
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run ruff check
run: ruff check .
test:
runs-on: ubuntu-latest
needs: lint
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev,full]"
- name: Run tests
run: |
python -m pytest tests/ -v --tb=short
- name: Check CLI works
run: |
datamorph --version
datamorph --help
datamorph formats