diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2019-10-09 12:52:45 -0400 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2019-10-09 12:52:45 -0400 |
| commit | 6c5120e3d1843d34919390757ce96eb12249ed34 (patch) | |
| tree | dccb84ff71b482cfb7504e788fa3836facfc8bf6 | |
| parent | a9774e993f0eeda6e8bb64b50be449a3e1ebc81c (diff) | |
Update CI + comments
| -rw-r--r-- | .gitlab-ci.yml | 9 | ||||
| -rwxr-xr-x | src/config.py | 3 |
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): """ |
