summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorChris Shepherd <shprdchris@gmail.com>2022-03-22 12:26:33 +0000
committerChris Shepherd <chris.shepherd@codethink.co.uk>2022-03-29 16:47:21 +0100
commit3bc2fb37ff72a35dfb75baae41004fe9bd616f12 (patch)
tree15842a171f5a1be5c87715eb882bf7e53e1b4b66 /.gitlab-ci.yml
parenta622d5fce1ad63aa0d350323b525a440860ab400 (diff)
downloadlorry-3bc2fb37ff72a35dfb75baae41004fe9bd616f12.tar.gz
Add CI testing for raw files
Created two tests for the creation of appropriate local git repos from folders of raw files. 1. One raw file. Verify that the desired form of the .lorry file creates a corresponding git repo with the correct relative paths. 2. Multiple raw files. Verify all the above, plus the additon of all raw files and the updating of the realtive paths upon changes of the .lorry file.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fd377a2..970c34f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,8 +21,12 @@ test:
# Deps for running tests
- apt-get install -y -qq cmdtest
+ # Download git-lfs repo
+ - apt-get install -y -qq curl
+ - curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
+
# Deps to run lorry tests
- - apt-get install -y -qq git bzr cvs mercurial subversion hg-fast-export git-svn git-cvs bzr-fastimport
+ - apt-get install -y -qq git bzr cvs mercurial subversion hg-fast-export git-svn git-cvs git-lfs bzr-fastimport
- pip3 install pyyaml
- pip3 install https://gitlab.com/trovekube/cliapp/-/archive/cliapp-1.20180812.1/cliapp-cliapp-1.20180812.1.tar.gz