Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VaeterchenFrost committed Dec 17, 2024
1 parent 3a5a194 commit c0c0462
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,23 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v2
with:
# graphviz version on Ubuntu.
ubuntu-graphviz-version: '12.2.1'
run: |
wget -nv https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/12.2.1/graphviz-12.2.1.tar.gz
graphviz_12_sha256="242bc18942eebda6db4039f108f387ec97856fc91ba47f21e89341c34b554df8 graphviz-12.2.1.tar.gz"
calculated_hash=$(sha256sum graphviz-12.2.1.tar.gz)
if [["$calculated_hash" != "$graphviz_12_sha256" ]]; then
echo "The file is corrupted, calculated_hash: $calculated_hash"
exit 1
fi
# extract
tar -xzf graphviz-12.2.1.tar.gz
# dev dependencies
sudo apt-get install -y libgraphviz-dev pkg-config
# build sources
cd graphviz-12.2.1
./configure
make
make install
- name: Test with coverage & pytest
run: |
Expand All @@ -65,6 +78,7 @@ jobs:
flags: unittests

other_os_tests:
if: false
strategy:
matrix:
# os: [windows-latest]
Expand Down

0 comments on commit c0c0462

Please sign in to comment.