提交 1935e840 创建 作者: 王晓庆's avatar 王晓庆

增加新文件

上级 0699c356
流水线 #118096 已失败 于阶段
用时 16 秒
image: "mssql-server-2019-python:2019-CU5-ubuntu-18.04"
stages:
- case1
- case2
- case3
.codecode-runner: &codecode-runner
tags:
- ubuntu-16.04
- short-job
case1:
stage: case1
<<: *codecode-runner
script:
- /opt/mssql/bin/sqlservr > /dev/null &
- python3 testcases.py 1
- diff output1.txt user_output1.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 60\n*******************************************\n"
only:
- master
allow_failure: false
case2:
stage: case2
<<: *codecode-runner
script:
- /opt/mssql/bin/sqlservr > /dev/null &
- python3 testcases.py 2
- diff output2.txt user_output2.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 80\n*******************************************\n"
only:
- master
allow_failure: false
case3:
stage: case3
<<: *codecode-runner
script:
- /opt/mssql/bin/sqlservr > /dev/null &
- python3 testcases.py 3
- diff output3.txt user_output3.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 100\n*******************************************\n"
only:
- master
allow_failure: false
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论