mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: add HYDRO_PRETEST env to analysis
This commit is contained in:
1 parent
76984d985c
commit
592774c091
2 files changed
+5
-1
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/hydrojudge",
|
"name": "@hydrooj/hydrojudge",
|
||||||
"bin": "bin/hydrojudge.js",
|
"bin": "bin/hydrojudge.js",
|
||||||
"version": "2.15.1",
|
"version": "2.15.2",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
|
|||||||
@@ -91,6 +91,10 @@ export const judge = async (ctx: Context) => {
|
|||||||
compile: { content: langConfig.compile },
|
compile: { content: langConfig.compile },
|
||||||
execute: { content: langConfig.execute },
|
execute: { content: langConfig.execute },
|
||||||
},
|
},
|
||||||
|
env: {
|
||||||
|
...ctx.env,
|
||||||
|
HYDRO_PRETEST: 'true',
|
||||||
|
},
|
||||||
time: 5000,
|
time: 5000,
|
||||||
memory: 256,
|
memory: 256,
|
||||||
}).then((r) => {
|
}).then((r) => {
|
||||||
|
|||||||
Reference in new issue
Block a user