mirror of https://github.com/astral-sh/uv
Run multiple commands in ecosystem tests (#10920)
This commit is contained in:
parent
57a2740d90
commit
0008ec69c4
|
|
@ -655,13 +655,19 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- repo: "prefecthq/prefect"
|
- repo: "prefecthq/prefect"
|
||||||
command: "uv pip install -e '.[dev]'"
|
commands:
|
||||||
|
- "uv venv"
|
||||||
|
- "uv pip install -e '.[dev]'"
|
||||||
python: "3.9"
|
python: "3.9"
|
||||||
- repo: "pallets/flask"
|
- repo: "pallets/flask"
|
||||||
command: "uv pip install -r requirements/dev.txt"
|
commands:
|
||||||
|
- "uv venv"
|
||||||
|
- "uv pip install -r requirements/dev.txt"
|
||||||
python: "3.12"
|
python: "3.12"
|
||||||
- repo: "pydantic/pydantic-core"
|
- repo: "pydantic/pydantic-core"
|
||||||
command: "uv sync --group all"
|
commands:
|
||||||
|
- "uv sync --group all"
|
||||||
|
- "uv lock --upgrade"
|
||||||
python: "3.12"
|
python: "3.12"
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -683,8 +689,14 @@ jobs:
|
||||||
|
|
||||||
- name: "Test"
|
- name: "Test"
|
||||||
run: |
|
run: |
|
||||||
./uv venv
|
echo '${{ toJSON(matrix.commands) }}' | jq -r '.[]' | while read cmd; do
|
||||||
./${{ matrix.command }}
|
echo "+ $cmd" >&2
|
||||||
|
if [[ $cmd == uv* ]]; then
|
||||||
|
./$cmd
|
||||||
|
else
|
||||||
|
$cmd
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
smoke-test-linux:
|
smoke-test-linux:
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue