Skip to content

Commit c17a0dc

Browse files
ianhimartinRenou
authored andcommitted
Use built wheel for the tests
1 parent b541997 commit c17a0dc

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/main.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737
channels: conda-forge
3838

3939
- name: Install ipympl
40-
run: pip install -e .
40+
run: |
41+
python -m build
42+
pip install dist/*.whl
4143
4244
- name: Check installation files
4345
run: |

.github/workflows/mpl-latest.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ jobs:
3030
- name: Install dependencies
3131
shell: bash -l {0}
3232
run: |
33-
mamba install python=${{ matrix.python-version }} pip nodejs ipywidgets=7.6 jupyter jupyterlab=3 pillow numpy flake8 pytest nbval
33+
mamba install python=${{ matrix.python-version }} pip nodejs ipywidgets=7.6 jupyter jupyterlab=3 pillow numpy flake8 pytest nbval yarn build
3434
pip install git+https://github.com/matplotlib/matplotlib.git
3535
3636
- name: Install ipympl
3737
shell: bash -l {0}
38-
run: pip install -e .
38+
run: |
39+
python -m build
40+
pip install dist/*.whl
3941
4042
- name: Check installation files
4143
shell: bash -l {0}

dev-environment.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ dependencies:
1313
- matplotlib
1414
- pytest
1515
- nbval
16+
- pip:
17+
- build

0 commit comments

Comments
 (0)