Skip to content

Commit da5cd0b

Browse files
committed
fix: python version
1 parent d3be6de commit da5cd0b

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/test-custom-version.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: ./.github/workflows/discover-packages.yml
1919

2020
test-core-dev-version:
21-
name: Test ${{ matrix.package }} - Core Dev Version
21+
name: Test Core Dev Version
2222
needs: [discover-packages]
2323
runs-on: ${{ matrix.os }}
2424
if: contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')
@@ -65,7 +65,7 @@ jobs:
6565
- name: Setup Python
6666
uses: actions/setup-python@v5
6767
with:
68-
python-version-file: "packages/${{ matrix.package }}/.python-version"
68+
python-version: ${{ matrix.python-version }}
6969

7070
- name: Modify pyproject.toml for custom UiPath version
7171
shell: bash
@@ -95,7 +95,7 @@ jobs:
9595
grep -A5 -B5 "uipath\|testpypi" pyproject.toml || true
9696
9797
- name: Install dependencies with specific UiPath version
98-
run: uv sync --all-extras
98+
run: uv sync --all-extras --python ${{ matrix.python-version }}
9999

100100
- name: Run all tests
101101
run: uv run pytest

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
uses: ./.github/workflows/discover-packages.yml
99

1010
test:
11-
name: Test ${{ matrix.package }}
11+
name: Test
1212
needs: [discover-packages]
1313
runs-on: ${{ matrix.os }}
1414
defaults:
@@ -42,11 +42,11 @@ jobs:
4242
if: "!contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')"
4343
uses: actions/setup-python@v5
4444
with:
45-
python-version-file: "packages/${{ matrix.package }}/.python-version"
45+
python-version: ${{ matrix.python-version }}
4646

4747
- name: Install dependencies
4848
if: "!contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')"
49-
run: uv sync --all-extras
49+
run: uv sync --all-extras --python ${{ matrix.python-version }}
5050

5151
- name: Run tests
5252
if: "!contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')"

.pipelines/security-scans.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ stages:
3535
parameters:
3636
OS: linux
3737
azureSubscription: $(azureInternalProductionEaConnectionName)
38-
FOSSAFlags: '--project "UiPath LLamaIndex Python SDK" --branch "$(Build.SourceBranch)" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
38+
FOSSAFlags: '--project "UiPath Integrations Python SDK" --branch "$(Build.SourceBranch)" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
3939
FOSSATestFlags: '--project "UiPath LLamaIndex Python SDK" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
4040
${{ if contains(variables['Build.SourceBranch'], 'main') }}:
4141
publishSecurityReports: true

0 commit comments

Comments
 (0)