feat: consolidate uipath-core and uipath-platform into monorepo #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |