File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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"
You can’t perform that action at this time.
0 commit comments