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

增加新文件

上级 d2fb3b48
流水线 #118611 已失败 于阶段
用时 32 秒
image: "mssql-server-2019-python:2019-CU5-ubuntu-18.04"
stages:
- case1
.codecode-runner: &codecode-runner
tags:
- ubuntu-16.04
- short-job
case1:
stage: case1
<<: *codecode-runner
script:
- /opt/mssql/bin/sqlservr > /dev/null &
- python3 testsql.py ci_test query 1
- diff query1_result.txt user_query1_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 72\n*******************************************\n"
- python3 testsql.py ci_test query 2
- diff query2_result.txt user_query2_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 74\n*******************************************\n"
- python3 testsql.py ci_test query 3
- diff query3_result.txt user_query3_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 76\n*******************************************\n"
- python3 testsql.py ci_test query 4
- diff query4_result.txt user_query4_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 78\n*******************************************\n"
- python3 testsql.py ci_test query 5
- diff query5_result.txt user_query5_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 80\n*******************************************\n"
- python3 testsql.py ci_test query 6
- diff query6_result.txt user_query6_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 82\n*******************************************\n"
- python3 testsql.py ci_test query 7
- diff query7_result.txt user_query7_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 84\n*******************************************\n"
- python3 testsql.py ci_test query 8
- diff query8_result.txt user_query8_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 86\n*******************************************\n"
- python3 testsql.py ci_test query 9
- diff query9_result.txt user_query9_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 88\n*******************************************\n"
- python3 testsql.py ci_test query 10
- diff query10_result.txt user_query10_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 90\n*******************************************\n"
- python3 testsql.py ci_test query 11
- diff query11_result.txt user_query11_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 92\n*******************************************\n"
- python3 testsql.py ci_test query 12
- diff query12_result.txt user_query12_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 94\n*******************************************\n"
- python3 testsql.py ci_test query 13
- diff query13_result.txt user_query13_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 96\n*******************************************\n"
- python3 testsql.py ci_test query 14
- diff query14_result.txt user_query14_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 98\n*******************************************\n"
- python3 testsql.py ci_test query 15
- diff query15_result.txt user_query15_result.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 100\n*******************************************\n"
only:
- master
allow_failure: false
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论