@@ -18,25 +18,36 @@ jobs:
1818 fail-fast : false
1919 matrix :
2020 os : [ubuntu-latest, macos-latest, windows-latest]
21- python-version : ["3.11", "3.12"]
21+ python-version : ["3.10", "3.12", "3.13"]
22+ exclude :
23+ - os : macos-latest
24+ python-version : " 3.10"
25+ - os : windows-latest
26+ python-version : " 3.10"
27+ env :
28+ UV_SYSTEM_PYTHON : 1
2229 steps :
23- - uses : actions/checkout@v3
30+ - uses : actions/checkout@v5
2431 - name : Install apt dependencies
25- if : matrix.os == 'ubuntu-latest'
32+ if : matrix.os == 'ubuntu-latest'
2633 run : |
27- sudo apt update && sudo apt install -y libegl1 libegl-mesa0 libgl1 libglx-mesa0 libopengl0
34+ sudo apt install -y libegl1 libopengl0
2835 - name : Set up Python ${{ matrix.python-version }}
29- uses : actions/setup-python@v4
36+ uses : actions/setup-python@v6
3037 with :
3138 python-version : ${{ matrix.python-version }}
32- cache : ' pip'
3339 check-latest : true
40+ - name : Install uv (with cache)
41+ uses : astral-sh/setup-uv@v6
42+ with :
43+ enable-cache : true
44+
3445 - name : Install python dependencies
3546 run : |
36- python -m pip install --upgrade pip
37- python -m pip install pytest
38- python -m pip install ovito
39- python -m pip install .
47+ uv pip install --upgrade pip
48+ uv pip install pytest
49+ uv pip install --pre ovito
50+ uv pip install .
4051 - name : Test with pytest
4152 run : |
4253 pytest
0 commit comments