@@ -52,51 +52,11 @@ jobs:
5252 echo "github.workflow.id: ${{github.workflow.id}}"
5353 echo "github.run_id: ${{github.run_id}}"
5454 - name : Upload wheels
55- uses : actions/upload-artifact@v3
55+ uses : actions/upload-artifact@v4
5656 with :
5757 name : osparc_python_wheels
5858 path : clients/python/artifacts/dist/
5959
60- test-20-04 :
61- name : python ${{ matrix.python-version }} ubuntu-20.04
62- runs-on : ubuntu-20.04
63- needs : build
64- strategy :
65- max-parallel : 4
66- matrix :
67- python-version : [3.8, 3.9, 3.10.14]
68- steps :
69- - uses : actions/checkout@v3
70- with :
71- ref : ${{ github.event.client_payload.ref }}
72- - name : Set up Python ${{ matrix.python-version }}
73- uses : actions/setup-python@v4
74- with :
75- python-version : ${{ matrix.python-version }}
76- - name : install uv
77- uses : yezz123/setup-uv@v4
78- - name : Pip cache
79- uses : actions/cache@v3
80- with :
81- path : ~/.cache/pip
82- key : ${{ runner.os }}-pip-{{ matrix.python-version }}
83- restore-keys : |
84- ${{ runner.os }}-pip
85- - name : Download wheels
86- uses : actions/download-artifact@v3
87- with :
88- name : osparc_python_wheels
89- path : clients/python/artifacts/dist/
90- - name : Install and Test
91- run : |
92- python -m venv .venv
93- source .venv/bin/activate
94- python -m pip install pytest
95- python -m pip install clients/python/artifacts/dist/${{needs.build.outputs.osparc}} --find-links=clients/python/artifacts/dist
96- cd clients/python
97- make install-unit-test
98- uv pip list | grep osparc
99- pytest -v --ignore=/artifacts/client --ignore=test/e2e
10060
10161 test-latest :
10262 name : python ${{ matrix.python-version }} ubuntu-latest
12282 restore-keys : |
12383 ${{ runner.os }}-pip
12484 - name : Download wheels
125- uses : actions/download-artifact@v3
85+ uses : actions/download-artifact@v4
12686 with :
12787 name : osparc_python_wheels
12888 path : clients/python/artifacts/dist/
13999 publish :
140100 name : Publish clients
141101 if : github.event_name == 'push' && ( startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master' )
142- needs : [test-20-04, test- latest]
102+ needs : [test-latest]
143103 uses : ./.github/workflows/publish-python-client.yml
0 commit comments