summaryrefslogtreecommitdiffstats
path: root/.builds/lint-and-test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/lint-and-test.yml')
-rw-r--r--.builds/lint-and-test.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.builds/lint-and-test.yml b/.builds/lint-and-test.yml
new file mode 100644
index 0000000..70dcc61
--- /dev/null
+++ b/.builds/lint-and-test.yml
@@ -0,0 +1,29 @@
+image: alpine/3.23
+packages:
+ - uv
+ - lirc
+sources:
+ - https://git.sr.ht/~eugenetriguba/lirc
+triggers:
+ - action: email
+ condition: failure
+ to: builds@eugenetriguba.com
+tasks:
+ - lint: |
+ cd lirc
+ ./scripts/lint.sh
+ - test39: |
+ cd lirc
+ ./scripts/test.sh --python 3.9
+ - test310: |
+ cd lirc
+ ./scripts/test.sh --python 3.10
+ - test311: |
+ cd lirc
+ ./scripts/test.sh --python 3.11
+ - test312: |
+ cd lirc
+ ./scripts/test.sh --python 3.12
+ - test313: |
+ cd lirc
+ ./scripts/test.sh --python 3.13