From 2870b43b12b70d2a97bd6786473578e33f94ef3c Mon Sep 17 00:00:00 2001 From: Xyphuz Date: Tue, 17 May 2022 02:36:41 +0800 Subject: [PATCH] chore: add graphviz in ci/cd workflows --- .github/workflows/cd.yml | 3 ++- .github/workflows/ci.yml | 4 ++++ .github/workflows/release-tagged-version.yml | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0868300..4377be7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,4 +14,5 @@ jobs: - name: Build and Publish to PyPi uses: JRubics/poetry-publish@v1.10 with: - pypi_token: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file + pypi_token: ${{ secrets.PYPI_TOKEN }} + extra_build_dependency_packages: "graphviz" \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c40e9d4..c7f38c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,10 @@ jobs: - name: Switch to Current Branch run: git checkout ${{ env.BRANCH }} + + - run: | + sudo apt-get update + sudo apt-get install -y graphviz - name: Setup Python 3.10.4 uses: actions/setup-python@v3 diff --git a/.github/workflows/release-tagged-version.yml b/.github/workflows/release-tagged-version.yml index 3c6d547..d10f37c 100644 --- a/.github/workflows/release-tagged-version.yml +++ b/.github/workflows/release-tagged-version.yml @@ -21,6 +21,10 @@ jobs: - name: Switch to Current Branch run: git checkout ${{ env.BRANCH }} + + - run: | + sudo apt-get update + sudo apt-get install -y graphviz - name: Setup Python 3.10.4 uses: actions/setup-python@v3