Skip to content

Commit 8add548

Browse files
kshitij-mathsndem0
authored andcommitted
add pip in python-occ env
1 parent cdb3b54 commit 8add548

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/tester.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Install Python dependencies
6262
shell: bash -el {0}
6363
run: |
64-
conda install --yes -c conda-forge pythonocc-core
64+
conda install --yes -c conda-forge pythonocc-core pip
6565
python -m pip install --upgrade pip
6666
python -m pip install .[docs]
6767
@@ -90,7 +90,7 @@ jobs:
9090
- name: Install Python dependencies
9191
shell: bash -el {0}
9292
run: |
93-
conda install --yes -c conda-forge pythonocc-core
93+
conda install --yes -c conda-forge pythonocc-core pip
9494
python -m pip install --upgrade pip
9595
python -m pip install pytest pytest-cov
9696
python -m pip install .[test]
@@ -101,10 +101,11 @@ jobs:
101101
python -m pytest --cov-report term --cov-report xml:cobertura.xml --cov=pygem
102102
103103
- name: Produce the coverage report
104+
if: github.event.pull_request.head.repo.full_name == github.repository
104105
uses: insightsengineering/coverage-action@v2
105106
with:
106107
path: ./cobertura.xml
107108
threshold: 80.0
108109
fail: true
109-
publish: true
110+
publish: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
110111
coverage-summary-title: "Code Coverage Summary"

0 commit comments

Comments
 (0)