Skip to content

Commit

Permalink
ci: improve compatibility with ubuntu-22.04 image
Browse files Browse the repository at this point in the history
JIRA: CI-490
  • Loading branch information
nalajcie committed Oct 17, 2024
1 parent 03a7509 commit 4d90677
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,12 @@ jobs:
run: ls -R

- name: Merge Test Results
# NOTE: --break-system-packages is ok as we're running on emphemeral GH VMs
run: |
pip3 install junitparser junit2html --break-system-packages
pip3 install junitparser junit2html
junitparser merge artifacts/test-results-*/results.xml junit.xml
junit2html junit.xml junit.html
env:
PIP_BREAK_SYSTEM_PACKAGES: 1 # NOTE: we're running on emphemeral GH VMs, install packages globally

- name: Upload Merged Unit Test Results in HTML
uses: actions/upload-artifact@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,12 @@ jobs:
run: ls -R

- name: Merge Test Results
# NOTE: --break-system-packages is ok as we're running on emphemeral GH VMs
run: |
pip3 install junitparser junit2html --break-system-packages
pip3 install junitparser junit2html
junitparser merge artifacts/test-results-*/results.xml junit.xml
junit2html junit.xml junit.html
env:
PIP_BREAK_SYSTEM_PACKAGES: 1 # NOTE: we're running on emphemeral GH VMs, install packages globally

- name: Upload Merged Unit Test Results in HTML
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 4d90677

Please sign in to comment.