chore: add graphviz in ci/cd workflows

This commit is contained in:
Xyphuz 2022-05-17 02:36:41 +08:00
parent ea2bd6f50b
commit 2870b43b12
3 changed files with 10 additions and 1 deletions

View file

@ -14,4 +14,5 @@ jobs:
- name: Build and Publish to PyPi - name: Build and Publish to PyPi
uses: JRubics/poetry-publish@v1.10 uses: JRubics/poetry-publish@v1.10
with: with:
pypi_token: ${{ secrets.PYPI_TOKEN }} pypi_token: ${{ secrets.PYPI_TOKEN }}
extra_build_dependency_packages: "graphviz"

View file

@ -15,6 +15,10 @@ jobs:
- name: Switch to Current Branch - name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }} run: git checkout ${{ env.BRANCH }}
- run: |
sudo apt-get update
sudo apt-get install -y graphviz
- name: Setup Python 3.10.4 - name: Setup Python 3.10.4
uses: actions/setup-python@v3 uses: actions/setup-python@v3

View file

@ -21,6 +21,10 @@ jobs:
- name: Switch to Current Branch - name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }} run: git checkout ${{ env.BRANCH }}
- run: |
sudo apt-get update
sudo apt-get install -y graphviz
- name: Setup Python 3.10.4 - name: Setup Python 3.10.4
uses: actions/setup-python@v3 uses: actions/setup-python@v3