Commit f457c10f authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

working on same-stage dependencies

parent 1dec6382
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ test_lab_1:
  script:
    - echo "Testing Lab 1";
    - git clone https://agile.bu.edu/gitlab/configs/ec327/lab-configs/current.git base_1
    - cp lab0.cpp base_1/tests
    - cp lab1.cpp base_1/tests
    - cd base_1/tests
    - make lab1
  dependencies:
+9 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ compile_lab_m1:
  script:
    - echo "Compiling lab-1.cpp"
    - g++ -c lab-1.cpp
  rules:
    - changes:
        - lab-1.cpp
  tags: [c++-17]

lint_lab_m1:
@@ -25,6 +28,9 @@ lint_lab_m1:
      - echo "Static code check of lab-1.cpp"
      - cppcheck --enable=all --inconclusive --error-exitcode=1 lab-1.cpp
  allow_failure: false
  rules:
    - changes:
        - lab-1.cpp
  tags: [cppcheck]

# don't run the test in the master branch
@@ -39,4 +45,7 @@ test_lab_m1:
        echo "Could not find your WikiName $GITLAB_USER_LOGIN in file lab-1.cpp";
        exit 1;
      fi
  rules:
    - changes:
        - lab-1.cpp
  tags: [shell]
 No newline at end of file