-
Notifications
You must be signed in to change notification settings - Fork 24
54 lines (43 loc) · 1.41 KB
/
test-uipath-runtime.yml
File metadata and controls
54 lines (43 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Test UiPath Runtime
on:
pull_request:
types: [ opened, synchronize, reopened, labeled ]
jobs:
test-uipath-runtime:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ "3.11", "3.12", "3.13" ]
os: [ ubuntu-latest, windows-latest ]
permissions:
contents: read
# Only run if PR has the test:uipath-runtime label
if: contains(github.event.pull_request.labels.*.name, 'test:uipath-runtime')
steps:
- name: Checkout uipath-python
uses: actions/checkout@v4
with:
path: 'uipath-python'
- name: Setup uv
uses: astral-sh/setup-uv@v5
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build uipath-core package
working-directory: uipath-python/packages/uipath-core
run: uv build
- name: Checkout uipath-runtime-python
uses: actions/checkout@v4
with:
repository: 'UiPath/uipath-runtime-python'
path: 'uipath-runtime-python'
- name: Update uipath-core version
shell: bash
working-directory: uipath-runtime-python
run: uv add ../uipath-python/packages/uipath-core/dist/*.whl --dev
- name: Run uipath-runtime tests
working-directory: uipath-runtime-python
run: |
uv sync --all-extras
uv run pytest