File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 1- name : Publish Python SDK
1+ name : Publish - Python
22
33on :
44 push :
Original file line number Diff line number Diff line change 1- name : Publish Relay
1+ name : Publish - Relay
22
33on :
44 push :
Original file line number Diff line number Diff line change 1- name : Python SDK Code Quality
1+ name : Code Quality - Python
22
33on :
44 pull_request :
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
Original file line number Diff line number Diff line change 1- name : Relay Code Quality
1+ name : Code Quality - Relay
22
33on :
44 pull_request :
Original file line number Diff line number Diff line change 1- name : Tests
1+ name : Test - Relay
22
33on :
44 pull_request :
Original file line number Diff line number Diff line change 1- name : Tests
1+ name : Test - SDKs
22
33on :
44 pull_request :
You can’t perform that action at this time.
0 commit comments