Skip to content

Commit 895c171

Browse files
committed
rework ci
1 parent 554a249 commit 895c171

File tree

1 file changed

+38
-11
lines changed

1 file changed

+38
-11
lines changed

.github/workflows/main.yaml

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,31 @@ jobs:
2121
- name: Get number of CPU cores
2222
uses: SimenB/github-actions-cpu-cores@v1
2323

24+
- name: apt-install
25+
run: sudo apt-get install -y \
26+
libwoff1\
27+
libvpx9\
28+
libevent-2.1-7t64\
29+
libopus0\
30+
libgstreamer-plugins-base1.0-0\
31+
libgstreamer-gl1.0-0\
32+
libgstreamer-plugins-bad1.0-0\
33+
libflite1\
34+
libavif16\
35+
libharfbuzz-icu0\
36+
libsecret-1-0\
37+
libhyphen0\
38+
libmanette-0.2-0\
39+
libgles2\
40+
gstreamer1.0-libav
41+
2442
- name: Install mamba
2543
uses: mamba-org/setup-micromamba@v2
2644
with:
2745
environment-file: dev-env.yml
2846
environment-name: dev-env
2947
init-shell: >-
30-
bash
31-
32-
- name: Install playwright dependencies
33-
shell: bash -el {0}
34-
run: sudo playwright install-deps
48+
bash
3549
3650
- name: Install Playwright
3751
shell: bash -el {0}
@@ -57,6 +71,24 @@ jobs:
5771
- name: Get number of CPU cores
5872
uses: SimenB/github-actions-cpu-cores@v1
5973

74+
- name: apt-install
75+
run: sudo apt-get install -y \
76+
libwoff1\
77+
libvpx9\
78+
libevent-2.1-7t64\
79+
libopus0\
80+
libgstreamer-plugins-base1.0-0\
81+
libgstreamer-gl1.0-0\
82+
libgstreamer-plugins-bad1.0-0\
83+
libflite1\
84+
libavif16\
85+
libharfbuzz-icu0\
86+
libsecret-1-0\
87+
libhyphen0\
88+
libmanette-0.2-0\
89+
libgles2\
90+
gstreamer1.0-libav
91+
6092
- name: Install mamba
6193
uses: mamba-org/setup-micromamba@v2
6294
with:
@@ -67,13 +99,8 @@ jobs:
6799
shell: bash -el {0}
68100
run: |
69101
python -m pip install .
70-
71-
- name: Install pyjs-code-runner
72-
shell: bash -el {0}
73-
run: |
74-
sudo playwright install-deps
75102
playwright install
76-
103+
77104
- name: Run Tests
78105
shell: bash -el {0}
79106
run: |

0 commit comments

Comments
 (0)