Skip to content

Commit 4aad52c

Browse files
fix: add curl installation to fix codecov upload (#4070)
* fix: add curl installation to minimal and full OS package setups * chore: adding changelog file 4070.fixed.md [dependabot-skip] * fix: using only one flag to upload to codecov --------- Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 7574808 commit 4aad52c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test-local.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@ jobs:
176176
shell: bash
177177
if: inputs.testing-minimal == true
178178
run: |
179-
apt-get update && apt install -y libgomp1 graphviz && apt-get clean
179+
apt-get update && apt install -y libgomp1 graphviz curl && apt-get clean
180180
181181
- name: "Installing OS packages"
182182
shell: bash
183183
if: inputs.testing-minimal == false
184184
run: |
185-
apt-get update && apt install -y libgl1-mesa-glx xvfb libgomp1 graphviz && apt-get clean
185+
apt-get update && apt install -y libgl1-mesa-glx xvfb libgomp1 graphviz curl && apt-get clean
186186
187187
- name: "Setup Python"
188188
uses: actions/setup-python@v5
@@ -301,7 +301,7 @@ jobs:
301301
token: ${{ secrets.codecov-token }} # required
302302
root_dir: ${{ github.workspace }}
303303
name: ${{ inputs.file-name }}.xml
304-
flags: ubuntu,local,${{ inputs.mapdl-version }},${{ inputs.tags }},${{ steps.student_check.outputs.TAG_STUDENT }},dmp
304+
flags: local-ubuntu-${{ inputs.mapdl-version }}-dmp-${{ steps.student_check.outputs.TAG_STUDENT }}-${{ inputs.tags }}
305305

306306
- name: "Upload coverage artifacts"
307307
uses: actions/upload-artifact@v4

.github/workflows/test-remote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ jobs:
274274
with:
275275
token: ${{ secrets.codecov-token }} # required
276276
name: "${{ inputs.file-name }}.xml"
277-
flags: remote,${{ steps.ubuntu_check.outputs.TAG_UBUNTU }},${{ inputs.mapdl-version }},${{ steps.distributed_mode.outputs.distributed_mode }},${{ steps.student_check.outputs.TAG_STUDENT }}
277+
flags: remote-${{ steps.ubuntu_check.outputs.TAG_UBUNTU }}-${{ inputs.mapdl-version }}-${{ steps.distributed_mode.outputs.distributed_mode }}-${{ steps.student_check.outputs.TAG_STUDENT }}
278278

279279
- name: Upload coverage artifacts
280280
uses: actions/[email protected]

doc/changelog.d/4070.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix: add curl installation to fix codecov upload

0 commit comments

Comments
 (0)