Skip to content

Commit

Permalink
ci: change junit test suite name according to the os, python version,…
Browse files Browse the repository at this point in the history
… poetry version
  • Loading branch information
leoslf committed Mar 13, 2024
1 parent 6e76e91 commit 6ae55ee
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
-s
--doctest-modules
--tb=long
-o junit_suite_name=${{ matrix.os }}-python${{ matrix.python-version }}-poetry${{ matrix.poetry-version }}
--junit-xml=.output/unittest/${{ matrix.os }}-python${{ matrix.python-version }}-poetry${{ matrix.poetry-version }}.xml
--cov-report term-missing
--cov-report xml:.output/coverage/${{ matrix.os }}-python${{ matrix.python-version }}-poetry${{ matrix.poetry-version }}.xml
Expand Down Expand Up @@ -113,6 +114,11 @@ jobs:
with:
fetch-depth: 0

- uses: ./.github/actions/setup-poetry

- name: Install the project dependencies
run: poetry install

- name: Download artifacts (merged unittest report)
uses: actions/download-artifact@v4
with:
Expand All @@ -127,11 +133,6 @@ jobs:
path: .output/coverage
merge-multiple: true

- uses: ./.github/actions/setup-poetry

- name: Install the project dependencies
run: poetry install

- name: Sonarqube Analysis
uses: sonarsource/sonarqube-scan-action@master
env:
Expand Down

0 comments on commit 6ae55ee

Please sign in to comment.