Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 27823dd

Browse files
feat: update Dockerfile
1 parent 90e97f1 commit 27823dd

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

‎Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,21 @@ FROM node:lts
44
ENV target_root_directory=
55
ENV include=
66
ENV preset=
7+
ENV time=
78

89
# clone the repos
910
WORKDIR /app/
1011
# Replace by the fork
11-
RUN git clone https://github.com/syntest-framework/syntest-core.git
12+
RUN git clone https://github.com/syntest-framework/syntest-core.git
13+
WORKDIR /app/syntest-core
14+
RUN git fetch
15+
RUN git checkout experiment-javascript
16+
WORKDIR /app/
1217
RUN git clone https://github.com/syntest-framework/syntest-javascript.git
18+
WORKDIR /app/syntest-javascript
19+
RUN git fetch
20+
RUN git checkout improve-type-inference-model
21+
WORKDIR /app/
1322
RUN git clone https://github.com/syntest-framework/syntest-javascript-benchmark.git
1423

1524
# Install and build core
@@ -34,4 +43,4 @@ RUN npm install
3443

3544
WORKDIR /app/syntest-javascript-benchmark
3645

37-
CMD npx syntest javascript test --target-root-directory=${target_root_directory} --include=${include} --preset=${preset}
46+
CMD timeout -k 25m 25m npx syntest javascript test --target-root-directory=${target_root_directory} --include=${include} --preset=${preset} --total-time=${time}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /