@@ -15,39 +15,47 @@ jobs:
15
15
# igraph: ["igraph", "no-igraph"]
16
16
steps :
17
17
# This cancels any such job that is still runnning
18
- - name : Cancel Previous Runs
19
- uses : styfle/cancel-workflow-action@0.9.1
20
- with :
21
- access_token : ${{ github.token }}
22
- - uses : actions/checkout@v4
23
- - name : Set up Python ${{ matrix.python-version }}
24
- uses : actions/setup-python@v5
25
- with :
26
- python-version : ${{ matrix.python-version }}
27
- - name : Install Linux libraries
28
- run : |
29
- sudo apt-get update -y -qq
30
- sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 \
31
- libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \
32
- libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 graphviz graphviz-dev \
33
- mesa-vulkan-drivers
34
- - name : Install dependencies
35
- run : |
36
- pip install --upgrade pip
37
- pip install zstandard==0.16.0
38
- pip install numpy
39
- pip install flybrains --no-deps
40
- pip install git+https://github.com/siavashk/pycpd@master
41
- pip install pyarrow
42
- - name : Install navis
43
- run : pip install -e .[dev,all]
44
- # - run: pip install python-igraph
45
- # if: ${{ matrix.igraph == 'igraph' }}
46
- - name : Report dependency versions
47
- run : pip freeze -r requirements.txt
48
- - name : Test
49
- uses : coactions/setup-xvfb@v1
50
- with :
18
+ - name : Cancel Previous Runs
19
+ uses : styfle/cancel-workflow-action@0.9.1
20
+ with :
21
+ access_token : ${{ github.token }}
22
+ - uses : actions/checkout@v4
23
+ - name : Set up Python ${{ matrix.python-version }}
24
+ uses : actions/setup-python@v5
25
+ with :
26
+ python-version : ${{ matrix.python-version }}
27
+ - name : Set up Blender
51
28
run : |
52
- export NAVIS_HEADLESS=TRUE
53
- pytest --verbose
29
+ pwd
30
+ wget -qO- https://mirrors.iu13.net/blender/release/Blender4.2/blender-4.2.4-linux-x64.tar.xz | tar xJ
31
+ mv blender-4.2.4-linux-x64 ../
32
+ echo "PATH=../blender-4.2.4-linux-x64/:$PATH" >> $GITHUB_ENV
33
+ - name : Install Linux libraries
34
+ run : |
35
+ sudo apt-get update -y -qq
36
+ sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 \
37
+ libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \
38
+ libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 graphviz graphviz-dev \
39
+ mesa-vulkan-drivers
40
+ - name : Install dependencies
41
+ run : |
42
+ pip install --upgrade pip
43
+ pip install zstandard==0.16.0
44
+ pip install numpy
45
+ pip install flybrains --no-deps
46
+ pip install git+https://github.com/siavashk/pycpd@master
47
+ pip install pyarrow
48
+ - name : Install navis
49
+ run : pip install -e .[dev,all]
50
+ # - run: pip install python-igraph
51
+ # if: ${{ matrix.igraph == 'igraph' }}
52
+ - name : Report dependency versions
53
+ run : |
54
+ which blender
55
+ pip freeze -r requirements.txt
56
+ - name : Test
57
+ uses : coactions/setup-xvfb@v1
58
+ with :
59
+ run : |
60
+ export NAVIS_HEADLESS=TRUE
61
+ pytest --verbose
0 commit comments