From f570a865379fe62fbb07bb8dc70b2528fa735248 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Thu, 19 Mar 2026 23:18:32 -0400 Subject: Replace github actions CI with sourcehut builds --- .builds/lint-and-test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .builds/lint-and-test.yml (limited to '.builds') diff --git a/.builds/lint-and-test.yml b/.builds/lint-and-test.yml new file mode 100644 index 0000000..b91efb7 --- /dev/null +++ b/.builds/lint-and-test.yml @@ -0,0 +1,27 @@ +image: alpine/3.23 +submitter: + git.sr.ht: + enabled: true + allow-refs: + - refs/heads/main + - "refs/tags/*" +triggers: + - action: email + condition: failure + to: builds@eugenetriguba.com +packages: + - uv +sources: + - https://git.sr.ht/~eugenetriguba/taskipy2 +tasks: + - lint: | + cd taskipy2 + ./scripts/lint.sh + - test: | + cd taskipy2 + ./scripts/test.sh --python-version 3.9 + ./scripts/test.sh --python-version 3.10 + ./scripts/test.sh --python-version 3.11 + ./scripts/test.sh --python-version 3.12 + ./scripts/test.sh --python-version 3.13 + ./scripts/test.sh --python-version 3.14 -- cgit v1.2.3