Skip to content

Commit 8d1f41d

Browse files
authored
ci: Remove useless setup-python (#169)
* ci: Remove useless setup-python * ci: Improve names * ci: Fix typo
1 parent 4e590fa commit 8d1f41d

7 files changed

Lines changed: 7 additions & 44 deletions

File tree

.github/actions/test_python_sdk/action.yaml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ runs:
1010
using: "composite"
1111
steps:
1212

13-
# =================================================
14-
# Setup
15-
# =================================================
16-
17-
- uses: actions/setup-python@v4
18-
with:
19-
python-version: "3.x"
20-
2113
- name: Install UV
2214
shell: bash
2315
run: curl -LsSf https://astral.sh/uv/install.sh | sh
@@ -28,37 +20,11 @@ runs:
2820
cd client_sdks/python
2921
uv sync --dev
3022
31-
# =================================================
32-
# Tests
33-
# We run all tests except benchmarks
34-
# =================================================
35-
3623
- name: Run tests
3724
shell: bash
3825
env:
3926
MANAGER_TEST_URL: http://localhost:3000
4027
BROKER_TEST_URL: amqp://user:password@localhost:5672
4128
run: |
4229
cd client_sdks/python
43-
uv run pytest -m "not bench"
44-
45-
# =================================================
46-
# Benchmarks
47-
# Disabled for now.
48-
# =================================================
49-
50-
# - name: Run benchmarks
51-
# shell: bash
52-
# run: |
53-
# cd client_sdks/python
54-
# uv run pytest -m "bench" --benchmark-json output.json
55-
56-
# - name: Store benchmark result
57-
# uses: benchmark-action/github-action-benchmark@v1
58-
# with:
59-
# tool: 'pytest'
60-
# output-file-path: client_sdks/python/output.json
61-
# github-token: ${{ inputs.github-token }}
62-
# comment-always: true
63-
# auto-push: true
64-
# summary-always: true
30+
uv run pytest -m "not bench"

.github/workflows/publish_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Python SDK
1+
name: Publish - Python
22

33
on:
44
push:

.github/workflows/publish_relay.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Relay
1+
name: Publish - Relay
22

33
on:
44
push:

.github/workflows/quality_python.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python SDK Code Quality
1+
name: Code Quality - Python
22

33
on:
44
pull_request:
@@ -17,9 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
20-
- uses: actions/setup-python@v4
21-
with:
22-
python-version: "3.12"
2320
- name: Install uv
2421
run: curl -LsSf https://astral.sh/uv/install.sh | sh
2522
- name: Check formatting & linting

.github/workflows/quality_relay.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Relay Code Quality
1+
name: Code Quality - Relay
22

33
on:
44
pull_request:

.github/workflows/test_relay.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tests
1+
name: Test - Relay
22

33
on:
44
pull_request:

.github/workflows/test_sdks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tests
1+
name: Test - SDKs
22

33
on:
44
pull_request:

0 commit comments

Comments
 (0)