Skip to content

Commit ec373f6

Browse files
authored
Merge pull request #93 from ericpre/test_against_pyxem_dev
Add build to test against pyxem development version
2 parents 4a398d5 + b304373 commit ec373f6

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/test_workbooks.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
test-workbooks:
1717
runs-on: ubuntu-latest
1818
timeout-minutes: 30
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
PYXEM_VERSION: ['release', 'development']
1923
steps:
2024
- uses: actions/checkout@v3
2125

@@ -24,10 +28,21 @@ jobs:
2428
with:
2529
python-version: '3.10'
2630

27-
- name: Install package and dependencies
31+
- name: Install pyxem (release)
32+
if: contains(matrix.PYXEM_VERSION, 'release')
33+
shell: bash
34+
run: |
35+
pip install pyxem
36+
37+
- name: Install pyxem (development)
38+
if: contains(matrix.PYXEM_VERSION, 'development')
39+
shell: bash
40+
run: |
41+
pip install "pyxem @ git+https://github.com/pyxem/pyxem.git"
42+
43+
- name: Install other libraries
2844
shell: bash
2945
run: |
30-
pip install pyxem
3146
pip install -U nbval pyopencl
3247
pip install nb-clean
3348
pip install hyperspy[gui-jupyter]

0 commit comments

Comments
 (0)