Skip to content

Commit

Permalink
Added plot-requirements file with the requirements for the plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
Framba-Luca committed Jun 22, 2023
1 parent 44a1761 commit 54f814d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 30 deletions.
43 changes: 18 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@ jobs:
with:
python-version: 3.8

- name: Install graphviz
run: sudo apt-get install graphviz graphviz-dev

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

- name: Install Development Python dependencies
run: python3 -m pip install -r dev-requirements.txt

- name: Install graphviz
run: sudo apt-get install graphviz graphviz-dev

- name: Install plot Python dependencies
run: python3 -m pip install -r plot-requirements.txt

- name: Install tarski
run: |
python3 -m pip install tarski[arithmetic]
Expand Down Expand Up @@ -96,9 +99,6 @@ jobs:
- name: Install pyparsing version used in ROS1
run: python3 -m pip install pyparsing==2.4.6

- name: Install graphviz
run: sudo apt-get install graphviz graphviz-dev

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

Expand Down Expand Up @@ -156,15 +156,18 @@ jobs:
with:
python-version: 3.8

- name: Install graphviz
run: sudo apt-get install graphviz graphviz-dev

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

- name: Install Development Python dependencies
run: python3 -m pip install -r dev-requirements.txt

- name: Install graphviz
run: sudo apt-get install graphviz graphviz-dev

- name: Install plot Python dependencies
run: python3 -m pip install -r plot-requirements.txt

- name: Install tarski
run: |
python3 -m pip install tarski[arithmetic]
Expand Down Expand Up @@ -232,16 +235,6 @@ jobs:
with:
python-version: 3.8

# Currently disabled due to difficulties of installing graphviz on windows
# - name: Install graphviz
# run: |
# choco install graphviz
# python -m pip install --use-pep517 `
# --config-setting="--global-option=build_ext" `
# --config-setting="--global-option="-IC:\Program Files\Graphviz\include" `
# --config-setting="--global-option="-LC:\Program Files\Graphviz\lib" `
# pygraphviz

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

Expand Down Expand Up @@ -299,9 +292,6 @@ jobs:
with:
python-version: 3.8

- name: Install graphviz
run: brew install graphviz

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

Expand Down Expand Up @@ -382,15 +372,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Install graphviz
run: sudo apt-get install graphviz graphviz-dev

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

- name: Install Development Python dependencies
run: python3 -m pip install -r dev-requirements.txt

- name: Install graphviz
run: sudo apt-get install graphviz graphviz-dev

- name: Install plot Python dependencies
run: python3 -m pip install -r plot-requirements.txt

- name: Checkout up-tamer
uses: actions/checkout@v2
with:
Expand Down
5 changes: 0 additions & 5 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,3 @@ pytest-cov
mypy
pre-commit
black==22.6.0
plotly
matplotlib
kaleido
pandas
pygraphviz
6 changes: 6 additions & 0 deletions plot-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-r requirements.txt
plotly
matplotlib
kaleido
pandas
pygraphviz

0 comments on commit 54f814d

Please sign in to comment.