summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-08-16 22:59:32 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-08-16 22:59:32 +0200
commit009a2889e3fc1d00698177652a48ac358a346339 (patch)
treeb38c42bb4b72cb4403eb757f11b06bf5b0b6368d /.github/workflows
parent86e3c672bb45b26a76ce1039984802525fbfb475 (diff)
downloadweechat-009a2889e3fc1d00698177652a48ac358a346339.zip
core: ensure python stub is up-to-date in CI
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ef448466f..3a2addaf4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -50,6 +50,9 @@ jobs:
bandit doc/docgen.py doc/python_stub.py
bandit tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py
+ - name: Check Python stub file
+ run: ./doc/python_stub.py | diff - src/plugins/python/weechat.pyi
+
- name: Build and run tests
env:
CC: ${{ matrix.config.cc }}