aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..7080980
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,15 @@
+image: alpine/latest
+packages:
+ - python3
+sources:
+ - https://git.sr.ht/~boringcactus/crowbar-reference-compiler
+tasks:
+ - setup: |
+ pip install poetry
+ poetry config virtualenvs.create false
+ cd crowbar-reference-compiler
+ poetry install
+ - test: |
+ cd crowbar-reference-compiler
+ poetry run mypy -p crowbar_reference_compiler
+ poetry run python -m unittest