Skip to content

Commit

Permalink
Actually enable the package to be built
Browse files Browse the repository at this point in the history
  • Loading branch information
willGraham01 committed Aug 21, 2023
1 parent 2f88b1e commit 3858e59
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,31 +61,34 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup mamba environment with niftyreg install
- name: Setup mamba environment
uses: mamba-org/setup-micromamba@v1
with:
init-shell: bash
environment-name: niftyreg-env
create-args: >-
python=3.11
setuptools
setuptools_scm
wheel
- name: Install package into environment
shell: bash
shell: bash -el {0}
run: |
pip install .[dev]
- name: Run backend tests (no conda binaries)
shell: bash
shell: bash -el {0}
run: |
pytest -v tests/tests/test_backend
- name: Install niftyreg with conda
shell: bash
shell: bash -el {0}
run: |
mamba install niftyreg
micromamba install niftyreg
- name: Run backend tests(conda binaries present)
shell: bash
shell: bash -el {0}
run: |
pytest -v tests/tests/test_backend
Expand Down

0 comments on commit 3858e59

Please sign in to comment.