aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml9
-rwxr-xr-xsrc/config.py3
2 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fb6e7a9..481093f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,3 +6,12 @@ debian:
- pip install PyYAML
script:
- bash tests/run.sh break
+
+archlinux:
+ stage: test
+ image: archlinux/base
+ before_script:
+ - pacman -Sy --noconfirm && pacman -S --noconfirm python python-pip
+ - pip install PyYAML
+ script:
+ - bash tests/run.sh break
diff --git a/src/config.py b/src/config.py
index cc43712..ee0d1f8 100755
--- a/src/config.py
+++ b/src/config.py
@@ -27,6 +27,9 @@ def before_token(token, line):
return(found.group(0)[:-len(token)])
return("")
def sorted_items(d):
+ """
+ Mainly used for integration testing (to keep having deterministic results).
+ """
return(sorted(d.items()))
def no_comment(line):
"""