@@ -17,32 +17,36 @@ jobs:
1717 strategy :
1818 fail-fast : false
1919 matrix :
20- os : [ubuntu-latest, macos-latest]
21- # os: [ubuntu-latest, macos-latest, windows-latest]
22- python-version : ["3.7", "3.10", "3.11"]
20+ os : [ubuntu-latest, macos-latest, windows-latest]
21+ python-version : ["3.10", "3.12", "3.13"]
2322 exclude :
2423 - os : macos-latest
25- python-version : " 3.7"
26- # - os: windows-latest
27- # python-version: "3.7"
24+ python-version : " 3.10"
25+ - os : windows-latest
26+ python-version : " 3.10"
27+ env :
28+ UV_SYSTEM_PYTHON : 1
2829 steps :
29- - uses : actions/checkout@v3
30+ - uses : actions/checkout@v5
3031 - name : Install apt dependencies
31- if : matrix.os == 'ubuntu-latest'
32+ if : matrix.os == 'ubuntu-latest'
3233 run : |
33- sudo apt install -y libegl1 libegl1-mesa libegl-mesa0 libgl1-mesa-glx libopengl0
34+ sudo apt install -y libegl1 libopengl0
3435 - name : Set up Python ${{ matrix.python-version }}
35- uses : actions/setup-python@v4
36+ uses : actions/setup-python@v6
3637 with :
3738 python-version : ${{ matrix.python-version }}
38- cache : ' pip'
3939 check-latest : true
40+ - name : Install uv (with cache)
41+ uses : astral-sh/setup-uv@v6
42+ with :
43+ enable-cache : true
4044 - name : Install python dependencies
4145 run : |
42- python -m pip install --upgrade pip
43- python -m pip install pytest
44- python -m pip install --pre ovito
45- python -m pip install .
46+ uv pip install --upgrade pip
47+ uv pip install pytest
48+ uv pip install --pre ovito
49+ uv pip install .
4650 - name : Test with pytest
4751 run : |
4852 pytest
0 commit comments