test on push
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 11 Jun 2022 16:18:52 +0000 (17:18 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 11 Jun 2022 16:18:52 +0000 (17:18 +0100)
.woodpecker/.lint.yml
.woodpecker/.test.yml

index 615cd7a45326d7e18a5a77a1584f3dc822c250cf..0bac90d7367df2dae7ded9b8d2c0088dd73f8e14 100644 (file)
@@ -6,4 +6,5 @@ pipeline:
     - mix local.rebar --force
     - mix format --check-formatted
     when:
-      event: [push, tag, deployment]
+      event:
+      - push
index 49681a3bb1f769a8aad91f8178ece35d1cafd311..cef7436433bc540d05854968ef5d93385af6a9b7 100644 (file)
@@ -8,6 +8,9 @@ matrix:
 pipeline:
   build:
     image: pleromaforkci/ci-base:${ELIXIR_VERSION}
+    when:
+      event:
+      - push
     environment:
       MIX_ENV: test
     commands:
@@ -19,6 +22,9 @@ pipeline:
   test:
     group: test
     image: pleromaforkci/ci-base:${ELIXIR_VERSION}
+    when:
+      event:
+      - push
     environment:
       MIX_ENV: test
       POSTGRES_DB: pleroma_test