From 3bc2fb37ff72a35dfb75baae41004fe9bd616f12 Mon Sep 17 00:00:00 2001 From: Chris Shepherd Date: Tue, 22 Mar 2022 12:26:33 +0000 Subject: 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. --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.1