chore: add uv and python setup to test to generate requirements file
All checks were successful
Docker Build (PR) / Build Docker image (pull_request) Successful in 2m11s
All checks were successful
Docker Build (PR) / Build Docker image (pull_request) Successful in 2m11s
This commit is contained in:
@@ -23,6 +23,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "REPO_NAME=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
echo "REPO_NAME=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: setup uv
|
||||||
|
uses: astral-sh/setup-uv@v5
|
||||||
|
- name: Install Python
|
||||||
|
run: uv python install
|
||||||
|
with:
|
||||||
|
python-version-file: "pyproject.toml"
|
||||||
|
- name: Install project dependencies
|
||||||
|
run: |
|
||||||
|
uv sync --all-groups
|
||||||
|
uv add pip
|
||||||
|
uv export --format requirements.txt -o requirements.txt
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user