File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -21,24 +21,26 @@ jobs:
2121 uses : SimenB/github-actions-cpu-cores@v1
2222
2323 - name : Install mamba
24- uses : mamba-org/provision-with- micromamba@main
24+ uses : mamba-org/setup- micromamba@v2
2525 with :
2626 environment-file : dev-env.yml
2727 environment-name : dev-env
28- micromamba-version : " 1.4.1"
28+ init-shell : >-
29+ bash
2930
3031 - name : Install Playwright
32+ shell : bash -el {0}
3133 run : |
3234 playwright install
3335
3436 - name : Install pyjs-code-runner
37+ shell : bash -el {0}
3538 run : |
36- micromamba activate dev-env
3739 python -m pip install . --no-deps
3840
3941 - name : Run Tests
42+ shell : bash -el {0}
4043 run : |
41- micromamba activate dev-env
4244 pytest -s
4345
4446
@@ -58,12 +60,12 @@ jobs:
5860 micromamba-version : " 1.4.1"
5961
6062 - name : Install pyjs-code-runner
63+ shell : bash -el {0}
6164 run : |
62- micromamba activate dev-env
6365 python -m pip install .
6466 playwright install
6567
6668 - name : Run Tests
69+ shell : bash -el {0}
6770 run : |
68- micromamba activate dev-env
6971 pytest -s
Original file line number Diff line number Diff line change @@ -4,5 +4,4 @@ channels:
44dependencies :
55 - python
66 - pip
7- - emsdk
87 - pytest
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def env_prefix():
2929 "-c https://repo.mamba.pm/emscripten-forge -c https://repo.mamba.pm/conda-forge"
3030 )
3131 cmd = [
32- f"""$MAMBA_EXE create { channels } --yes --prefix { env_prefix } --platform=emscripten-32 python numpy pyjs """
32+ f"""$MAMBA_EXE create { channels } --yes --prefix { env_prefix } --platform=emscripten-32 python numpy pyjs>=2.7.0 """
3333 ]
3434
3535 ret = subprocess .run (cmd , shell = True )
You can’t perform that action at this time.
0 commit comments