Skip to content

Commit

Permalink
Merge pull request #93 from ericpre/test_against_pyxem_dev
Browse files Browse the repository at this point in the history
Add build to test against pyxem development version
  • Loading branch information
CSSFrancis authored Mar 14, 2024
2 parents 4a398d5 + b304373 commit ec373f6
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/test_workbooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
test-workbooks:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
PYXEM_VERSION: ['release', 'development']
steps:
- uses: actions/checkout@v3

Expand All @@ -24,10 +28,21 @@ jobs:
with:
python-version: '3.10'

- name: Install package and dependencies
- name: Install pyxem (release)
if: contains(matrix.PYXEM_VERSION, 'release')
shell: bash
run: |
pip install pyxem
- name: Install pyxem (development)
if: contains(matrix.PYXEM_VERSION, 'development')
shell: bash
run: |
pip install "pyxem @ git+https://github.com/pyxem/pyxem.git"
- name: Install other libraries
shell: bash
run: |
pip install pyxem
pip install -U nbval pyopencl
pip install nb-clean
pip install hyperspy[gui-jupyter]
Expand Down

0 comments on commit ec373f6

Please sign in to comment.