Skip to content

Commit 5aad39b

Browse files
committed
uv sync separately to clearly show what dependency version were used
uv sync separately to clearly show what dependency version were used
1 parent 5ac8b58 commit 5aad39b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ jobs:
8787
cache-dependency-glob: "**/pyproject.toml"
8888
cache-suffix: ${{ matrix.uv-resolution }}
8989

90+
- name: Install the project and dependencies
91+
run: uv sync --all-extras --dev --resolution ${{ matrix.uv-resolution }}
92+
9093
- name: Run tests
9194
run: |
9295
# Install software and run tests
@@ -98,7 +101,7 @@ jobs:
98101
# 127.0.0.1 is to persuade mysqlclient to use tcp rather than the domain socket :-/
99102
export DB_URL=mysql://root:mysql@127.0.0.1:3306/test_db
100103
fi
101-
uv run --all-extras --dev $WITH --resolution ${{ matrix.uv-resolution }} -m coverage run -m pytest --sqlalchemy-connect-url=$DB_URL
104+
uv run --no-sync $WITH --resolution ${{ matrix.uv-resolution }} -m coverage run -m pytest --sqlalchemy-connect-url=$DB_URL
102105
103106
- name: Upload coverage data
104107
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)