Skip to content

Commit f991210

Browse files
committed
Fix ci.yaml
1 parent e95c943 commit f991210

File tree

3 files changed

+7
-30
lines changed

3 files changed

+7
-30
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,14 @@ jobs:
1818
with:
1919
python-version: "3.11"
2020

21-
- name: Install system dependencies
22-
run: |
23-
sudo apt-get update
24-
sudo apt-get install -y --no-install-recommends \
25-
ffmpeg \
26-
libgl1-mesa-dev \
27-
libgl1-mesa-glx \
28-
libglfw3 \
29-
libosmesa6-dev \
30-
patchelf \
31-
python3-opengl \
32-
xvfb
33-
3421
- name: Install uv
3522
run: |
3623
curl -LsSf https://astral.sh/uv/install.sh | sh
3724
echo "/home/runner/.local/bin" >> $GITHUB_PATH
3825
3926
- name: Install project (dev)
4027
run: |
41-
uv pip install .[dev]
28+
uv pip install --system .[dev]
4229
4330
- name: Run pre-commit
4431
run: |
@@ -59,27 +46,14 @@ jobs:
5946
with:
6047
python-version: ${{ matrix.python-version }}
6148

62-
- name: Install system dependencies
63-
run: |
64-
sudo apt-get update
65-
sudo apt-get install -y --no-install-recommends \
66-
ffmpeg \
67-
libgl1-mesa-dev \
68-
libgl1-mesa-glx \
69-
libglfw3 \
70-
libosmesa6-dev \
71-
patchelf \
72-
python3-opengl \
73-
xvfb
74-
7549
- name: Install uv
7650
run: |
7751
curl -LsSf https://astral.sh/uv/install.sh | sh
7852
echo "/home/runner/.local/bin" >> $GITHUB_PATH
7953
8054
- name: Install project (dev + examples)
8155
run: |
82-
uv pip install .[dev,examples]
56+
uv pip install --system .[dev,examples]
8357
8458
- name: Run tests (coverage)
8559
run: |

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
default_language_version:
2+
python: python3.11
13
repos:
24
- repo: https://github.com/pycqa/isort
35
rev: 5.13.2
@@ -8,8 +10,8 @@ repos:
810
rev: 24.8.0
911
hooks:
1012
- id: black
11-
language_version: python3.10
12-
args: ["--target-version", "py310"]
13+
language_version: python3.11
14+
args: ["--target-version", "py311"]
1315
- repo: https://github.com/PyCQA/flake8
1416
rev: 7.1.1
1517
hooks:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ examples = [
5252
"ipykernel",
5353
"ipywidgets",
5454
"mediapy",
55+
"requests",
5556
"jumanji>=1.0.0",
5657
]
5758

0 commit comments

Comments
 (0)