- Add `workflow: disable: true` to 23 workflow files to temporarily disable CI/CD automation - Affects agent-contributions, build-macos-packages, ci, cli-tests, comprehensive-tests, configuration-security, contracts-ci, dotenv-check, file-organization, markdown-link-check, phase8-integration, production-deploy, publish-github-packages, publish-native-packages-simple, publish-native-packages, publish-npm-packages, publish-packages-to-registry
37 lines
731 B
YAML
37 lines
731 B
YAML
name: Python CI
|
|
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
branches: ["**"]
|
|
|
|
jobs:
|
|
lint-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
cache: 'pip'
|
|
|
|
- name: Install Poetry
|
|
run: python -m pip install --upgrade pip poetry
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
poetry config virtualenvs.create false
|
|
poetry install --no-interaction --no-ansi
|
|
|
|
- name: Lint (ruff)
|
|
run: poetry run ruff check .
|
|
|
|
- name: Test (pytest)
|
|
run: poetry run pytest
|
|
workflow:
|
|
disable: true
|