Skip to content

Commit

Permalink
Pipeline: force cleanup before git pull
Browse files Browse the repository at this point in the history
- When regression tests fail, the working dir is left dirty and
  needs to be reset before pulling the latest regression answers.
  • Loading branch information
adcroft committed Jun 13, 2017
1 parent a3c2e28 commit ebeb5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ setup:
- ln -sf $MOM6_SRC/{config_src,src,pkg} .
- test -d tests || (git clone --recursive http://gitlab.gfdl.noaa.gov/ogrp/Gaea_c3-stats-MOM6-examples.git tests)
- cd tests
- git checkout dev/gfdl
- git checkout . && git pull
- git checkout . && git checkout dev/gfdl
- git pull
- git status
- bash Gitlab/before_script.sh
- (cd MOM6-examples/src/mkmf && git pull https://github.com/adcroft/mkmf.git add_coverage_mode)
Expand Down

0 comments on commit ebeb5fa

Please sign in to comment.