aboutsummaryrefslogtreecommitdiff
path: root/.builds
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2022-04-13 09:19:54 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2022-04-13 09:19:54 +0200
commitf37f9a2bd8e23ac313a5f06bc25a8dd3823a9800 (patch)
treee55d4265eef10c43b1107efadfddbe2f594b1dba /.builds
parent1a672b0e129363877de649a8e13291c8de7cde42 (diff)
Run tests on sourcehut
Diffstat (limited to '.builds')
-rw-r--r--.builds/archlinux.yml20
-rw-r--r--.builds/debian_oldstable.yml21
-rw-r--r--.builds/debian_stable.yml20
3 files changed, 61 insertions, 0 deletions
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
new file mode 100644
index 0000000..2dfea59
--- /dev/null
+++ b/.builds/archlinux.yml
@@ -0,0 +1,20 @@
+image: archlinux
+packages:
+ - python-nose
+ - python-coverage
+ - flake8
+ - python-isort
+sources:
+ - https://git.sr.ht/~valhalla/hazwaz
+tasks:
+ - test: |
+ cd hazwaz
+ sh check coverage
+ - qa: |
+ cd hazwaz
+ sh check qa
+triggers:
+ - action: email
+ condition: failure
+ to: valhalla@trueelena.org
+
diff --git a/.builds/debian_oldstable.yml b/.builds/debian_oldstable.yml
new file mode 100644
index 0000000..33c256b
--- /dev/null
+++ b/.builds/debian_oldstable.yml
@@ -0,0 +1,21 @@
+image: debian/oldstable
+packages:
+ - python3-nose3
+ - python3-coverage
+ - flake8
+ - isort
+ - python3-doc8
+sources:
+ - https://git.sr.ht/~valhalla/hazwaz
+tasks:
+ - test: |
+ cd hazwaz
+ sh check coverage
+ - qa: |
+ cd hazwaz
+ sh check qa
+triggers:
+ - action: email
+ condition: failure
+ to: valhalla@trueelena.org
+
diff --git a/.builds/debian_stable.yml b/.builds/debian_stable.yml
new file mode 100644
index 0000000..1a5ec44
--- /dev/null
+++ b/.builds/debian_stable.yml
@@ -0,0 +1,20 @@
+image: debian/stable
+packages:
+ - python3-nose2
+ - python3-coverage
+ - flake8
+ - python3-doc8
+ - isort
+sources:
+ - https://git.sr.ht/~valhalla/hazwaz
+tasks:
+ - test: |
+ cd hazwaz
+ sh check coverage
+ - qa: |
+ cd hazwaz
+ sh check qa
+triggers:
+ - action: email
+ condition: failure
+ to: valhalla@trueelena.org