[WIP] python initial #141
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: Quality | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| linting: | |
| name: Linting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup linting | |
| uses: ./.github/actions/setup | |
| - name: Lint - TypeScript | |
| run: pnpm --filter @commercetools/commerce-agent run lint | |
| - name: Lint - Model Context Protocol | |
| run: pnpm --filter @commercetools/commerce-mcp run lint | |
| - name: Lint - Processors | |
| run: pnpm --filter @commercetools/processors run lint | |
| formatting: | |
| name: Formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup formatting | |
| uses: ./.github/actions/setup | |
| - name: Prettier - TypeScript | |
| run: pnpm --filter @commercetools/commerce-agent run prettier-check | |
| - name: Prettier - Model Context Protocol | |
| run: pnpm --filter @commercetools/commerce-mcp run prettier-check | |
| - name: Prettier - Processors | |
| run: pnpm --filter @commercetools/processors run prettier-check | |
| testing: | |
| name: Testing | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup testing | |
| uses: ./.github/actions/setup | |
| - name: Build all packages | |
| run: | | |
| pnpm --filter @commercetools/processors run build | |
| pnpm --filter @commercetools/commerce-agent run build | |
| pnpm --filter @commercetools/commerce-mcp run build | |
| - name: Test - TypeScript | |
| run: pnpm --filter @commercetools/commerce-agent run test | |
| - name: Test - Model Context Protocol | |
| run: pnpm --filter @commercetools/commerce-mcp run test | |
| - name: Test - Processors | |
| run: pnpm --filter @commercetools/processors run test |