Skip to content

Commit ad015ea

Browse files
WilliamBergaminClaude
andcommitted
chore: merge main into standardized-auth
Resolves the conflict with #306, which replaced test.yml with ci.yml. Adds standardized-auth to the lint, typecheck, and test matrices. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
2 parents adce849 + 1c84347 commit ad015ea

2 files changed

Lines changed: 105 additions & 39 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
showcase:
20+
- "ai/slackbot-mcp-client/no-auth"
21+
- "ai/slackbot-mcp-client/rich-responses/mcp-apps"
22+
- "ai/slackbot-mcp-client/slack-identity"
23+
- "block-kit"
24+
- "methods"
25+
- "standardized-auth"
26+
defaults:
27+
run:
28+
working-directory: ${{ matrix.showcase }}
29+
steps:
30+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
31+
with:
32+
persist-credentials: false
33+
- name: Set up Python
34+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
35+
with:
36+
python-version: "3.15"
37+
- name: Install dependencies
38+
run: |
39+
pip install -U pip
40+
pip install -r requirements.txt
41+
- name: Lint and check formatting
42+
run: |
43+
ruff check .
44+
ruff format --diff --check .
45+
typecheck:
46+
runs-on: ubuntu-latest
47+
timeout-minutes: 5
48+
strategy:
49+
fail-fast: false
50+
matrix:
51+
showcase:
52+
- "ai/slackbot-mcp-client/no-auth"
53+
- "ai/slackbot-mcp-client/rich-responses/mcp-apps"
54+
- "ai/slackbot-mcp-client/slack-identity"
55+
- "block-kit"
56+
- "methods"
57+
- "standardized-auth"
58+
defaults:
59+
run:
60+
working-directory: ${{ matrix.showcase }}
61+
steps:
62+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
63+
with:
64+
persist-credentials: false
65+
- name: Set up Python
66+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
67+
with:
68+
python-version: "3.15"
69+
- name: Install dependencies
70+
run: |
71+
pip install -U pip
72+
pip install -r requirements.txt
73+
- name: Type check
74+
run: |
75+
mypy .
76+
test:
77+
runs-on: ubuntu-latest
78+
timeout-minutes: 5
79+
strategy:
80+
fail-fast: false
81+
matrix:
82+
showcase:
83+
- "ai/slackbot-mcp-client/no-auth"
84+
- "ai/slackbot-mcp-client/rich-responses/mcp-apps"
85+
- "ai/slackbot-mcp-client/slack-identity"
86+
- "block-kit"
87+
- "standardized-auth"
88+
defaults:
89+
run:
90+
working-directory: ${{ matrix.showcase }}
91+
steps:
92+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
93+
with:
94+
persist-credentials: false
95+
- name: Set up Python
96+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
97+
with:
98+
python-version: "3.15"
99+
- name: Install dependencies
100+
run: |
101+
pip install -U pip
102+
pip install -r requirements.txt
103+
- name: Run all tests
104+
run: |
105+
pytest -v

‎.github/workflows/test.yml‎

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)