Skip to content

fix: Use filename-based GitHub Actions badge URL #1508

fix: Use filename-based GitHub Actions badge URL

fix: Use filename-based GitHub Actions badge URL #1508

Workflow file for this run

name: Python CI
on:
pull_request:
branches:
- '**'
jobs:
run-ci:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: ['3.10', '3.11', '3.12']
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint with ruff
run: |
ruff check openadapt/
ruff format --check openadapt/
- name: Verify package imports
run: |
python -c "from openadapt.cli import main; print('CLI import OK')"
python -c "from openadapt.version import __version__; print(f'Version: {__version__}')"