feat(methods): add chat.postMessage example #292
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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| name: "pytest@python3.14" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| showcase: | |
| - "ai/slackbot-mcp-client/no-auth" | |
| - "ai/slackbot-mcp-client/rich-responses/mcp-apps" | |
| - "ai/slackbot-mcp-client/slack-identity" | |
| - "block-kit" | |
| - "methods" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| - name: Install Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.14" | |
| - name: Run tests | |
| run: | | |
| cd "${{ matrix.showcase }}" | |
| pip install -r requirements.txt | |
| ruff check | |
| ruff format --diff --check | |
| mypy ./**/*.py | |
| # Run pytest only where tests exist; type-check-only showcases ship no tests/ dir. | |
| if [ -d tests ]; then pytest -v; fi |