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

更新 .gitlab-ci.yml

上级 1935e840
...@@ -14,6 +14,7 @@ case1: ...@@ -14,6 +14,7 @@ case1:
<<: *codecode-runner <<: *codecode-runner
script: script:
- /opt/mssql/bin/sqlservr > /dev/null & - /opt/mssql/bin/sqlservr > /dev/null &
- sleep(10)
- 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"
...@@ -26,6 +27,7 @@ case2: ...@@ -26,6 +27,7 @@ case2:
<<: *codecode-runner <<: *codecode-runner
script: script:
- /opt/mssql/bin/sqlservr > /dev/null & - /opt/mssql/bin/sqlservr > /dev/null &
- sleep(10)
- 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"
...@@ -38,6 +40,7 @@ case3: ...@@ -38,6 +40,7 @@ case3:
<<: *codecode-runner <<: *codecode-runner
script: script:
- /opt/mssql/bin/sqlservr > /dev/null & - /opt/mssql/bin/sqlservr > /dev/null &
- sleep(10)
- 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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论