@@ -18,20 +18,17 @@ jobs:
1818 build :
1919 runs-on : ubuntu-latest
2020 steps :
21-
2221 - name : Checkout
2322 uses : actions/checkout@v2
2423
2524 - name : Install Conda environment with Micromamba
26- uses : mamba-org/provision-with- micromamba@main
25+ uses : mamba-org/setup- micromamba@v1
2726 with :
28- environment-name : ipympl-dev
29- environment-file : dev-environment.yml
30- channels : conda-forge
27+ environment-file : dev-environment.yml
3128
3229 - name : Build packages
3330 run : |
34- python setup.py sdist bdist_wheel
31+ python -m build
3532 cd dist
3633 sha256sum * | tee SHA256SUMS
3734
@@ -49,25 +46,30 @@ jobs:
4946 fail-fast : false
5047 matrix :
5148 os : [ubuntu, macos]
52- python : ['3.10', '3.9']
53- mpl-version : ['3.5', 'latest']
49+ python : ['3.9', '3.12']
50+ mpl-version : ['latest']
51+ dist : ['ipympl*.whl']
5452 include :
55- - python : ' 3.10'
56- dist : ' ipympl*.tar.gz'
57- - python : ' 3.9'
53+ # Earliest supported Matplotlib, needs python <= 3.10
54+ - os : ubuntu
55+ python : ' 3.9'
56+ mpl-version : ' 3.5'
5857 dist : ' ipympl*.whl'
58+ # Install from sdist not wheel
59+ - os : ubuntu
60+ python : ' 3.11'
61+ mpl-version : ' latest'
62+ dist : ' ipympl*.tar.gz'
5963
6064 steps :
6165 - name : Checkout
6266 uses : actions/checkout@v2
6367
6468 - name : Install Conda environment with Micromamba
65- uses : mamba-org/provision-with- micromamba@main
69+ uses : mamba-org/setup- micromamba@v1
6670 with :
67- environment-name : ipympl-dev
6871 environment-file : dev-environment.yml
69- channels : conda-forge
70- extra-specs : |
72+ create-args : >-
7173 python=${{ matrix.python }}
7274
7375 - if : matrix.mpl-version == 'latest'
@@ -104,18 +106,18 @@ jobs:
104106 run : jupyter labextension list 2>&1 | grep jupyter-matplotlib
105107
106108 - name : Run pytest
107- run : pytest .
109+ run : pytest -v .
108110
109111 - name : Install Galata test dependencies
110112 if : matrix.os == 'ubuntu'
111113 run : |
112- yarn install
113- yarn playwright install chromium
114+ jlpm install
115+ jlpm playwright install chromium
114116 working-directory : ui-tests
115117
116118 - name : Launch JupyterLab
117119 if : matrix.os == 'ubuntu'
118- run : yarn run start:detached
120+ run : jlpm start:detached
119121 working-directory : ui-tests
120122
121123 - name : Wait for JupyterLab
@@ -127,7 +129,7 @@ jobs:
127129
128130 - name : Run UI Tests
129131 if : matrix.os == 'ubuntu'
130- run : yarn run test
132+ run : jlpm test
131133 working-directory : ui-tests
132134
133135 - name : Upload UI Test artifacts
@@ -150,7 +152,7 @@ jobs:
150152 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
151153 OS : ${{ matrix.os }}
152154 PYTHON : ${{ matrix.python }}
153- MATPLOLIBT : ${{ matrix.mpl-version }}
155+ MATPLOTLIB : ${{ matrix.mpl-version }}
154156 RUN_ID : ${{ github.run_id }}
155157 TITLE : ' [test-bot] Scheduled Tests are failing'
156158 with :
0 commit comments