@@ -21,16 +21,17 @@ jobs:
2121 uses : actions/setup-python@v5
2222 with :
2323 python-version : ${{ matrix.python-version }}
24- cache : " pip"
24+
25+ - name : Install uv
26+ uses : astral-sh/setup-uv@v4
2527
2628 - name : Install dependencies
2729 run : |
28- python -m pip install --upgrade pip
29- pip install -e ".[test]"
30+ uv sync --group test
3031
3132 - name : Run tests
3233 run : |
33- pytest --cov=altair_upset --cov-report=xml
34+ uv run pytest --cov=altair_upset --cov-report=xml
3435
3536 - name : Upload coverage to Codecov
3637 uses : codecov/codecov-action@v5
@@ -47,16 +48,17 @@ jobs:
4748 uses : actions/setup-python@v5
4849 with :
4950 python-version : " 3.11"
50- cache : " pip"
51+
52+ - name : Install uv
53+ uses : astral-sh/setup-uv@v4
5154
5255 - name : Install dependencies
5356 run : |
54- python -m pip install --upgrade pip
55- pip install -e ".[dev]"
57+ uv sync --group dev
5658
5759 - name : Run linters
5860 run : |
59- ruff check .
61+ uv run ruff check .
6062
6163 docs :
6264 runs-on : ubuntu-latest
@@ -70,12 +72,13 @@ jobs:
7072 uses : actions/setup-python@v5
7173 with :
7274 python-version : " 3.11"
73- cache : " pip"
75+
76+ - name : Install uv
77+ uses : astral-sh/setup-uv@v4
7478
7579 - name : Install dependencies
7680 run : |
77- python -m pip install --upgrade pip
78- pip install -e ".[docs,examples]"
81+ uv sync --group docs
7982
8083 - name : Build documentation
8184 run : |
0 commit comments