diff --git a/.github/workflows/packages-test.yml b/.github/workflows/packages-test.yml index 14d2180..b7e1219 100644 --- a/.github/workflows/packages-test.yml +++ b/.github/workflows/packages-test.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: Backend Packages Test +name: Frontend Packages Test on: # yamllint disable-line rule:truthy push: @@ -12,18 +12,23 @@ on: # yamllint disable-line rule:truthy - main jobs: - test-poetry-package: + pip-package: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.3.0 - with: - submodules: true + - uses: actions/checkout@v3.3.0 + with: + submodules: true - - name: Set up Python 3.11 - uses: actions/setup-python@v4.5.0 - with: - python-version: 3.11 + - name: Set up Python 3.11 + uses: actions/setup-python@v4.5.0 + with: + python-version: 3.11 - - name: Test poetry package installation - run: | - python -m pip install poetry && poetry install + - name: Install the latest version of uv + uses: astral-sh/setup-uv@v3 + with: + version: "latest" + + - name: Test uv package installation + run: uv venv && uv pip sync pyproject.toml + working-directory: frontend