]> granicus.if.org Git - pgbadger/commitdiff
Add a job to check README
authorÉtienne BERSAC <etienne.bersac@dalibo.com>
Wed, 20 Sep 2017 07:03:19 +0000 (09:03 +0200)
committerÉtienne BERSAC <etienne.bersac@dalibo.com>
Wed, 20 Sep 2017 07:17:11 +0000 (09:17 +0200)
.circleci/config.yml

index f468a20dd6c8a7f4573a683de7fc7b5d6aa87093..6034532b64c96083091fa00c577f8b276eed6c2e 100644 (file)
@@ -12,9 +12,22 @@ jobs:
     - run:
         name: Executing tests
         command: prove
+  doc:
+    docker: [{image: "perl:5.26"}]
+    working_directory: /tmp/pgbadger
+    steps:
+    - checkout
+    - run:
+        name: Check README is up to date with pod
+        command: |
+          perl Makefile.PL
+          touch --no-create doc/pgBadger.pod
+          make README
+          git diff --exit-code
 
 workflows:
   version: 2
   pipeline:
     jobs:
     - test
+    - doc