diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfaf903f06ccf2d5dca4cf9e853db06e01b53ae4..94ca4d4d59c22c3e1ecb172114370ef9a30e647c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,3 +6,9 @@ include: - project: biosignal/software/dev-profile file: /gitlab/python.yml + +tests: + before_script: + - git submodule sync + - git submodule update --init + - !reference [.snippets, test-prepare] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 35b4750401c7799ba8e7dcee15f82097746a2433..ca0b0259912379bdc7b88371bebdb3e6f247a14c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,7 +52,11 @@ repos: ) - id: check-toml - id: check-yaml - exclude: conda/meta.yaml + exclude: | + (?x)( + ^conda/meta.yaml| + ^.gitlab-ci.yml + ) - id: debug-statements - id: check-case-conflict - id: trailing-whitespace