@@ -16,16 +16,16 @@ jobs:
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
19
- - name : " Setup Python, Poetry and Dependencies"
20
- uses : dsoftwareinc/setup-python-poetry-action@v1
19
+ - name : Install uv
20
+ uses : astral-sh/setup-uv@v6
21
+ - uses : actions/setup-python@v5
21
22
with :
22
- python-version : " 3.12"
23
- poetry-version : " 2.1.1"
24
-
23
+ cache-dependency-path : uv.lock
24
+ python-version : " 3.13"
25
25
- name : Run ruff
26
26
shell : bash
27
27
run : |
28
- poetry run ruff check
28
+ uv run ruff check
29
29
30
30
test-regular :
31
31
needs : [ 'ruff' ]
@@ -69,36 +69,33 @@ jobs:
69
69
70
70
steps :
71
71
- uses : actions/checkout@v4
72
-
73
- - name : " Setup Python, Poetry and Dependencies "
74
- uses : dsoftwareinc /setup-python-poetry-action@v1
72
+ - name : Install uv
73
+ uses : astral-sh/setup-uv@v6
74
+ - uses : actions /setup-python@v5
75
75
with :
76
+ cache-dependency-path : uv.lock
76
77
python-version : " ${{ matrix.python-version }}"
77
- poetry-version : " 2.1.1"
78
- poetry-install-additional-args : " -E yaml"
79
78
80
79
- name : Install django version
81
80
shell : bash
82
81
run : |
83
- python -m pip --quiet install poetry
84
- echo "$HOME/.poetry/bin" >> $GITHUB_PATH
85
82
if [ ${{ matrix.broker == 'valkey' }} == true ]; then
86
- additional_args="-E valkey"
83
+ additional_args="--extra valkey"
87
84
fi
88
- poetry install -E yaml $additional_args
89
- poetry run pip install django==${{ matrix.django-version }}
85
+ uv sync --extra yaml $additional_args
86
+ uv pip install django==${{ matrix.django-version }}
90
87
91
88
- name : Get version
92
89
id : getVersion
93
90
shell : bash
94
91
run : |
95
- VERSION=$(poetry version -s --no-ansi -n )
92
+ VERSION=$(uv version --short )
96
93
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
97
94
98
95
- name : Check for missing migrations
99
96
run : |
100
97
cd testproject
101
- poetry run python manage.py makemigrations --check
98
+ uv run python manage.py makemigrations --check
102
99
103
100
- name : Run Tests without coverage
104
101
if : ${{ matrix.coverage != 'yes' }}
@@ -110,7 +107,7 @@ jobs:
110
107
else
111
108
export BROKER_PORT=6379
112
109
fi
113
- poetry run python manage.py test --exclude-tag multiprocess scheduler
110
+ uv run python manage.py test --exclude-tag multiprocess scheduler
114
111
115
112
# Steps for coverage check
116
113
- name : Run tests with coverage
0 commit comments