@@ -17,29 +17,47 @@ jobs:
1717    steps :
1818      - uses : actions/checkout@v2 
1919
20+       
2021      - name : Get number of CPU cores 
2122        uses : SimenB/github-actions-cpu-cores@v1 
22- 
23+       
24+       - name : apt-install 
25+         run : | 
26+           sudo apt-get update -y && sudo apt-get install -y  \ 
27+             libwoff1  libvpx9  libevent-2.1-7t64 libopus0 libgstreamer-plugins-base1.0-0 \ 
28+             libgstreamer-gl1.0-0 \ 
29+             libgstreamer-plugins-bad1.0-0 \ 
30+             libflite1 \ 
31+             libavif16 \ 
32+             libharfbuzz-icu0 \ 
33+             libsecret-1-0 \ 
34+             libhyphen0 \ 
35+             libmanette-0.2-0 \ 
36+             libgles2 \ 
37+             gstreamer1.0-libav 
38+ 
2339      - name : Install mamba 
24-         uses : mamba-org/provision-with- micromamba@main  
40+         uses : mamba-org/setup- micromamba@v2  
2541        with :
2642          environment-file : dev-env.yml 
2743          environment-name : dev-env 
28-           micromamba-version : " 1.4.1" 
29- 
44+           init-shell : >- 
45+             bash      
46+            
3047name : Install Playwright 
48+         shell : bash -el {0} 
3149        run : | 
3250          playwright install 
3351
3452name : Install pyjs-code-runner 
53+         shell : bash -el {0} 
3554        run : | 
36-           micromamba activate dev-env 
3755          python -m pip install . --no-deps 
3856
3957name : Run Tests 
58+         shell : bash -el {0} 
4059        run : | 
41-           micromamba activate dev-env 
42-           pytest -s 
60+           pytest -s -vvvvv  
4361
4462
4563test_with_pip :
@@ -50,20 +68,34 @@ jobs:
5068      - name : Get number of CPU cores 
5169        uses : SimenB/github-actions-cpu-cores@v1 
5270
71+       - name : apt-install 
72+         run : | 
73+           sudo apt-get update -y && sudo apt-get install -y  \ 
74+             libwoff1  libvpx9  libevent-2.1-7t64 libopus0 libgstreamer-plugins-base1.0-0 \ 
75+             libgstreamer-gl1.0-0 \ 
76+             libgstreamer-plugins-bad1.0-0 \ 
77+             libflite1 \ 
78+             libavif16 \ 
79+             libharfbuzz-icu0 \ 
80+             libsecret-1-0 \ 
81+             libhyphen0 \ 
82+             libmanette-0.2-0 \ 
83+             libgles2 \ 
84+             gstreamer1.0-libav 
85+ 
5386name : Install mamba 
54-         uses : mamba-org/provision-with- micromamba@main  
87+         uses : mamba-org/setup- micromamba@v2  
5588        with :
5689          environment-file : dev-env-pip.yml 
5790          environment-name : dev-env 
58-           micromamba-version : " 1.4.1" 
5991
6092      - name : Install pyjs-code-runner 
93+         shell : bash -el {0} 
6194        run : | 
62-           micromamba activate dev-env 
6395          python -m pip install . 
6496          playwright install 
65- 
97+            
6698name : Run Tests 
99+         shell : bash -el {0} 
67100        run : | 
68-           micromamba activate dev-env 
69-           pytest -s 
101+           pytest -s -vvvvv  
0 commit comments