aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker
diff options
context:
space:
mode:
Diffstat (limited to '.woodpecker')
-rw-r--r--.woodpecker/eslint.yml9
-rw-r--r--.woodpecker/lint.yml9
-rw-r--r--.woodpecker/mypy.yml9
-rw-r--r--.woodpecker/test.yml14
4 files changed, 41 insertions, 0 deletions
diff --git a/.woodpecker/eslint.yml b/.woodpecker/eslint.yml
new file mode 100644
index 0000000..52fb895
--- /dev/null
+++ b/.woodpecker/eslint.yml
@@ -0,0 +1,9 @@
+when:
+ - event: push
+
+steps:
+ - name: eslint
+ image: node
+ commands:
+ - npm install
+ - npx eslint asset-sources/*.ts
diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml
new file mode 100644
index 0000000..37eebba
--- /dev/null
+++ b/.woodpecker/lint.yml
@@ -0,0 +1,9 @@
+when:
+ - event: push
+
+steps:
+ - name: lint
+ image: python:bookworm
+ commands:
+ - pip install tox
+ - tox -e pylint,pylint-tests,flake,black,isort
diff --git a/.woodpecker/mypy.yml b/.woodpecker/mypy.yml
new file mode 100644
index 0000000..92ad9cf
--- /dev/null
+++ b/.woodpecker/mypy.yml
@@ -0,0 +1,9 @@
+when:
+ - event: push
+
+steps:
+ - name: mypy
+ image: python:bookworm
+ commands:
+ - pip install tox
+ - tox -e mypy
diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml
new file mode 100644
index 0000000..f50057a
--- /dev/null
+++ b/.woodpecker/test.yml
@@ -0,0 +1,14 @@
+when:
+ - event: push
+
+matrix:
+ DB:
+ - sqlite
+ - postgres
+
+steps:
+ - name: test
+ image: python:bookworm
+ commands:
+ - pip install tox
+ - ci/run_tests.sh $DB