File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 verify-published :
1414 runs-on : ubuntu-latest
15-
15+ strategy :
16+ matrix :
17+ python-version : ["3.12", "3.11", "3.10", "3.9"]
18+ extras : ["", "[all]"]
1619 steps :
17- - name : Set up Python
20+ - name : Set up Python ${{ matrix.python-version }}
1821 uses : actions/setup-python@v4
19-
22+ with :
23+ python-version : ${{ matrix.python-version }}
2024
21-
25+ - name : Create virtual environment
26+ run : |
27+ python -m venv .venv
28+ source .venv/bin/activate
29+
30+ - name : Install webknossos
31+ run : |
32+ python -m pip install --upgrade pip
33+ python -m pip install webknossos${{ matrix.extras }}
34+
35+ - name : Verify installation
36+ run : |
37+ python -c "import webknossos; from webknossos import version; print(f'webknossos version: {version.__version__}')"
38+
39+ if [ "${{ matrix.extras }}" = "[all]" ]; then
40+ # Verify some of the optional dependencies are available
41+ python -c "import tifffile; from pylibCZIrw import czi;"
42+ fi
You can’t perform that action at this time.
0 commit comments