@@ -16,16 +16,16 @@ jobs:
1616 steps :
1717 - uses : actions/checkout@v4
1818
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
2122 with :
22- python-version : " 3.12"
23- poetry-version : " 2.1.1"
24-
23+ cache-dependency-path : uv.lock
24+ python-version : " 3.13"
2525 - name : Run ruff
2626 shell : bash
2727 run : |
28- poetry run ruff check
28+ uv run ruff check
2929
3030 test-regular :
3131 needs : [ 'ruff' ]
@@ -69,36 +69,33 @@ jobs:
6969
7070 steps :
7171 - 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
7575 with :
76+ cache-dependency-path : uv.lock
7677 python-version : " ${{ matrix.python-version }}"
77- poetry-version : " 2.1.1"
78- poetry-install-additional-args : " -E yaml"
7978
8079 - name : Install django version
8180 shell : bash
8281 run : |
83- python -m pip --quiet install poetry
84- echo "$HOME/.poetry/bin" >> $GITHUB_PATH
8582 if [ ${{ matrix.broker == 'valkey' }} == true ]; then
86- additional_args="-E valkey"
83+ additional_args="--extra valkey"
8784 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 }}
9087
9188 - name : Get version
9289 id : getVersion
9390 shell : bash
9491 run : |
95- VERSION=$(poetry version -s --no-ansi -n )
92+ VERSION=$(uv version --short )
9693 echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
9794
9895 - name : Check for missing migrations
9996 run : |
10097 cd testproject
101- poetry run python manage.py makemigrations --check
98+ uv run python manage.py makemigrations --check
10299
103100 - name : Run Tests without coverage
104101 if : ${{ matrix.coverage != 'yes' }}
@@ -110,7 +107,7 @@ jobs:
110107 else
111108 export BROKER_PORT=6379
112109 fi
113- poetry run python manage.py test --exclude-tag multiprocess scheduler
110+ uv run python manage.py test --exclude-tag multiprocess scheduler
114111
115112 # Steps for coverage check
116113 - name : Run tests with coverage
0 commit comments