File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,6 @@ RUN apt-get install -y \
57
57
xdg-utils \
58
58
wget
59
59
60
- # Install rust
61
- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain nightly --no-modify-path --profile minimal
62
- ENV PATH="/root/.cargo/bin:${PATH}"
63
-
64
60
RUN curl -sL https://nodejs.org/dist/v22.13.1/node-v22.13.1-linux-x64.tar.xz | tar -xJ
65
61
ENV PATH="/node-v22.13.1-linux-x64/bin:${PATH}"
66
62
ENV NODE_PATH="/node-v22.13.1-linux-x64/lib/node_modules/"
@@ -69,13 +65,13 @@ WORKDIR /build
69
65
70
66
RUN mkdir out
71
67
68
+ COPY ../package.json /build/package.json
69
+
72
70
# For now, we need to use `--unsafe-perm=true` to go around an issue when npm tries
73
71
# to create a new folder. For reference:
74
72
# https://github.com/puppeteer/puppeteer/issues/375
75
73
#
76
74
# We also specify the version in case we need to update it to go around cache limitations.
77
- RUN npm install -g
[email protected] --unsafe-perm=true
78
-
79
- EXPOSE 3000
75
+ RUN npm install --unsafe-perm=true --loglevel verbose --force
80
76
81
77
CMD ["node", "/build/out/gui-tests/tester.js"]
Original file line number Diff line number Diff line change 32
32
33
33
. .env
34
34
35
+ set +e # We disable the "exit right away if command failed" setting.
35
36
cargo run -- start-web-server &
36
37
SERVER_PID=$!
37
38
38
39
# status="docker run . -v `pwd`:/build/out:ro gui_tests"
39
- docker compose run gui_tests
40
+ docker compose run --rm gui_tests
40
41
status=$?
41
42
kill $SERVER_PID
42
43
exit $status
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " deps" ,
3
+ "dependencies" : {
4
+ "browser-ui-test" : " ^0.21.3"
5
+ }
6
+ }
You can’t perform that action at this time.
0 commit comments