Skip to content
Snippets Groups Projects
Verified Commit 33444028 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

ENH: Update script for outdated dumps.

parent 6ff0ee58
Branches
Tags
2 merge requests!31ENH: Update script for outdated dumps.,!30Mariadb 10.11: New reserved keyword
Pipeline #55913 failed
......@@ -8,6 +8,7 @@ RUN apt-get update \
unzip \
python3-lxml \
python3-pip \
python3-pytest \
python3-sqlparse \
python3-sphinx \
doxygen
......
#
# This file is a part of the CaosDB Project.
# This file is a part of the LinkAhead Project.
#
# Copyright (C) 2018 Research Group Biomedical Physics,
# Max-Planck-Institute for Dynamics and Self-Organization Göttingen
# Copyright (C) 2024 Indiscale GmbH <info@indiscale.com>
# Copyright (C) 2019 Henrik tom Wörden
# Copyright (C) 2024 Daniel Hornung <d.hornung@indiscale.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
......@@ -62,6 +64,13 @@ unittests-mariadb:
script:
- make pipeline-test SQL_HOST=mariadb
# Run the dump update tests
test-dump-update:
tags: [ docker ]
stage: test
script:
- make test-dump-update
# Run the unit tests with MySQL 5
unittests-mysql-5:
tags: [ docker ]
......
......@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ###
- Script to update outdated database dumps.
### Changed ###
### Deprecated ###
......
......@@ -55,6 +55,10 @@ drop-%:
test:
./utils/make_db test --fresh
.PHONY: test-dump-update
test-dump-update:
pytest dump_updates
# Run tests with a database which is started in a Docker container
.PHONY: test-docker
test-docker:
......
/*
* This file is a part of the CaosDB Project.
* This file is a part of the LinkAhead Project.
*
* Copyright (C) 2020-2024 IndiScale GmbH <info@indiscale.com>
* Copyright (C) 2020,2023 Timm Fitschen <t.fitschen@indiscale.com>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment