feat: supporto ai config compose-only per run mart #81
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| python-version: ["3.10", "3.11"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Dev Dependencies | |
| run: python -m pip install -e ".[dev]" | |
| - name: Ruff | |
| run: python -m ruff check . | |
| - name: Pytest | |
| run: python -m pytest -p pytest_cov -q -p no:cacheprovider --cov=toolkit --cov-report=term-missing --cov-report=xml --cov-fail-under=70 | |
| - name: Upload Coverage Artifact | |
| if: always() && hashFiles('coverage.xml') != '' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-${{ matrix.os }}-py${{ matrix.python-version }} | |
| path: coverage.xml | |
| - name: Install And CLI Smoke | |
| if: ${{ hashFiles('scripts/smoke_install_cli.py') != '' }} | |
| run: python scripts/smoke_install_cli.py | |
| build: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install Build Tooling | |
| run: python -m pip install build twine | |
| - name: Build Distributions | |
| run: python -m build | |
| - name: Twine Check | |
| run: python -m twine check dist/* |