From d79c0c051f7e54b772b44339ef51d58b131649cc Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 30 Aug 2024 10:34:18 +0200 Subject: [PATCH] Make sure that dependent and cloned libraries are actually installed. --- .github/workflows/antsibull-docs.yml | 30 +++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/.github/workflows/antsibull-docs.yml b/.github/workflows/antsibull-docs.yml index f2a52740..0468d611 100644 --- a/.github/workflows/antsibull-docs.yml +++ b/.github/workflows/antsibull-docs.yml @@ -97,7 +97,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e .[coverage] ../antsibull-core ../antsibull-docs-parser + pip install -e .[coverage] ../antsibull-core ../antsibull-changelog ../antsibull-docs-parser ../antsibull-docutils ../antsibull-fileutils working-directory: antsibull-docs - name: Use antsibull-docs sphinx-init @@ -201,6 +201,18 @@ jobs: repository: ansible-community/antsibull-changelog path: antsibull-changelog + - name: Check out dependent project antsibull-docutils + uses: actions/checkout@v4 + with: + repository: ansible-community/antsibull-docutils + path: antsibull-docutils + + - name: Check out dependent project antsibull-fileutils + uses: actions/checkout@v4 + with: + repository: ansible-community/antsibull-fileutils + path: antsibull-fileutils + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: @@ -209,7 +221,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e .[coverage] ../antsibull-core ../antsibull-docs-parser + pip install -e .[coverage] ../antsibull-core ../antsibull-changelog ../antsibull-docs-parser ../antsibull-docutils ../antsibull-fileutils working-directory: antsibull-docs - name: Get hold of deps file @@ -265,6 +277,18 @@ jobs: repository: ansible-community/antsibull-changelog path: antsibull-changelog + - name: Check out dependent project antsibull-docutils + uses: actions/checkout@v4 + with: + repository: ansible-community/antsibull-docutils + path: antsibull-docutils + + - name: Check out dependent project antsibull-fileutils + uses: actions/checkout@v4 + with: + repository: ansible-community/antsibull-fileutils + path: antsibull-fileutils + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: @@ -273,7 +297,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e .[coverage] ../antsibull-core ../antsibull-docs-parser + pip install -e .[coverage] ../antsibull-core ../antsibull-changelog ../antsibull-docs-parser ../antsibull-docutils ../antsibull-fileutils working-directory: antsibull-docs - name: Get hold of ansible.in file