Skip to content

Commit f869e8d

Browse files
committed
adjust workflow for frontend package installation test
1 parent 1ae6c1b commit f869e8d

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed
Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Backend Packages Test
4+
name: Frontend Packages Test
55

66
on: # yamllint disable-line rule:truthy
77
push:
@@ -15,15 +15,20 @@ jobs:
1515
test-poetry-package:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/[email protected]
19-
with:
20-
submodules: true
18+
- uses: actions/[email protected]
19+
with:
20+
submodules: true
2121

22-
- name: Set up Python 3.11
23-
uses: actions/[email protected]
24-
with:
25-
python-version: 3.11
22+
- name: Set up Python 3.11
23+
uses: actions/[email protected]
24+
with:
25+
python-version: 3.11
2626

27-
- name: Test poetry package installation
28-
run: |
29-
python -m pip install poetry && poetry install
27+
- name: Install the latest version of uv
28+
uses: astral-sh/setup-uv@v3
29+
with:
30+
version: "latest"
31+
32+
- name: Test uv package installation
33+
run: uv venv && uv pip sync pyproject.toml
34+
working-directory: frontend

0 commit comments

Comments
 (0)