.gitlab-ci.yml updated v40
This commit is contained in:
parent
9c1e3fee4f
commit
8c698095a2
2 changed files with 3 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ test:
|
|||
artifacts:
|
||||
name: "$CI_COMMIT_REF_NAME"
|
||||
paths:
|
||||
- /builds/mfd/clearing/clr_test/mnt
|
||||
- /builds/mfd/clearing/clr_test/mnt/testFiles
|
||||
script:
|
||||
- apk update && apk add maven python3
|
||||
- cd clr_test
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ def run_docker(folder_name):
|
|||
|
||||
def main():
|
||||
folders = [i for i in sorted(os.listdir(DATA_ROOT_DIR)) if re.search("\\d{1,}.\\d{1,}.*", i)]
|
||||
shutil.rmtree(f"{CLR_TEST_DIR}/clearing-all/clearing_testing_utils/store")
|
||||
shutil.rmtree(f"{CLR_TEST_DIR}/clearing-all/clearing_testing_utils/store/expected")
|
||||
shutil.rmtree(f"{CLR_TEST_DIR}/clearing-all/clearing_testing_utils/store/input")
|
||||
os.remove(f"{CLR_TEST_DIR}/db/export.sql")
|
||||
os.remove(f"{CLR_TEST_DIR}/db/test-data.sql")
|
||||
shutil.copytree(f"{DATA_ROOT_DIR}/{folders[0]}/db/", f"{CLR_TEST_DIR}/db/", dirs_exist_ok=True)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue