File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 9595 run : |
9696 pytest -v tests --cov=pylinalg --cov-report=term-missing
9797
98+ test-pygfx-builds :
99+ name : ${{ matrix.name }}
100+ runs-on : ${{ matrix.os }}
101+ strategy :
102+ fail-fast : false
103+ matrix :
104+ include :
105+ - name : Test pygfx release
106+ os : ubuntu-latest
107+ ref : refs/tags/v0.7.0
108+ pyversion : ' 3.12'
109+ - name : Test pygfx main
110+ os : ubuntu-latest
111+ ref : refs/heads/main
112+ pyversion : ' 3.12'
113+ steps :
114+ - uses : actions/checkout@v4
115+ with :
116+ path : pylinalg
117+ - uses : actions/checkout@v4
118+ with :
119+ repository : pygfx/pygfx
120+ path : pygfx
121+ ref : ${{ matrix.ref }}
122+ - name : Set up Python ${{ matrix.pyversion }}
123+ uses : actions/setup-python@v5
124+ with :
125+ python-version : ${{ matrix.pyversion }}
126+ - name : Install llvmpipe and lavapipe for offscreen canvas
127+ if : matrix.os == 'ubuntu-latest'
128+ run : |
129+ sudo apt-get update -y -qq
130+ sudo apt install -y libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
131+ - name : Install package and dev dependencies
132+ run : |
133+ python -m pip install --upgrade pip
134+ cd pygfx
135+ pip install .[tests]
136+ rm -r pygfx
137+ cd ../pylinalg
138+ pip install .
139+ rm -r pylinalg
140+ - name : Unit tests
141+ run : |
142+ cd pygfx
143+ pytest -v --ignore=tests/utils/test_load.py tests
144+
98145 release-build :
99146 name : Build release on ubuntu-latest
100147 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments