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

更新 .gitlab-ci.yml

上级 0c8e55f8
流水线 #118099 已失败 于阶段
用时 20 秒
...@@ -14,7 +14,7 @@ case1: ...@@ -14,7 +14,7 @@ case1:
<<: *codecode-runner <<: *codecode-runner
script: script:
- /opt/mssql/bin/sqlservr > /dev/null & - /opt/mssql/bin/sqlservr > /dev/null &
- sleep(10) - sleep 10s
- python3 testcases.py 1 - python3 testcases.py 1
- diff output1.txt user_output1.txt -b -B -y -i -W 100 - diff output1.txt user_output1.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 60\n*******************************************\n" - echo -e "\n*******************************************\nexec-score 60\n*******************************************\n"
...@@ -27,7 +27,7 @@ case2: ...@@ -27,7 +27,7 @@ case2:
<<: *codecode-runner <<: *codecode-runner
script: script:
- /opt/mssql/bin/sqlservr > /dev/null & - /opt/mssql/bin/sqlservr > /dev/null &
- sleep(10) - sleep 10s
- python3 testcases.py 2 - python3 testcases.py 2
- diff output2.txt user_output2.txt -b -B -y -i -W 100 - diff output2.txt user_output2.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 80\n*******************************************\n" - echo -e "\n*******************************************\nexec-score 80\n*******************************************\n"
...@@ -40,7 +40,7 @@ case3: ...@@ -40,7 +40,7 @@ case3:
<<: *codecode-runner <<: *codecode-runner
script: script:
- /opt/mssql/bin/sqlservr > /dev/null & - /opt/mssql/bin/sqlservr > /dev/null &
- sleep(10) - sleep 10s
- python3 testcases.py 3 - python3 testcases.py 3
- diff output3.txt user_output3.txt -b -B -y -i -W 100 - diff output3.txt user_output3.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 100\n*******************************************\n" - echo -e "\n*******************************************\nexec-score 100\n*******************************************\n"
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论