diff --git a/.github/workflows/record-build-and-test-results-action.yml b/.github/workflows/record-build-and-test-results-action.yml index 91cf491..0e2124f 100644 --- a/.github/workflows/record-build-and-test-results-action.yml +++ b/.github/workflows/record-build-and-test-results-action.yml @@ -68,6 +68,10 @@ jobs: test_runner: pytest build_name: ${{ github.run_id }}-${{ github.job }} advanced-cases: + strategy: + matrix: + python_version: ['3.12', '3.11', '3.10'] + os: ['ubuntu-latest', 'windows-latest'] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -79,8 +83,8 @@ jobs: report_path: launchable-test-result/test-results.xml test_runner: pytest build_name: ${{ github.run_id }}-${{ github.job }} - test_session_name: ${{ github.run_id }}-${{ github.job }}-1 - flavors: 'build_name=true, test_session_name=true, flavors=true, count=1' + test_session_name: ${{ github.run_id }}-${{ github.job }}-${{ matrix.os }}-${{ matrix.python_version }}-1 + flavors: 'build_name=true, test_session_name=true, flavors=true, count=1, python_version=${{ matrix.python_version//./- }}, os=${{ matrix.os }}' if: always() - name: Record build and test results action with custom build name and test_session_name option with flavor part 2 uses: launchableinc/record-build-and-test-results-action@support-flavor-and-test-session-name-options @@ -88,6 +92,6 @@ jobs: report_path: launchable-test-result/test-results.xml test_runner: pytest build_name: ${{ github.run_id }}-${{ github.job }} - test_session_name: ${{ github.run_id }}-${{ github.job }}-2 - flavors: 'build_name=true, test_session_name=true, flavors=true, count=2' + test_session_name: ${{ github.run_id }}-${{ github.job }}-${{ matrix.os }}-${{ matrix.python_version }}-2 + flavors: 'build_name=true, test_session_name=true, flavors=true, count=2, python_version=${{ matrix.python_version//./- }}, os=${{ matrix.os }}' if: always() \ No newline at end of file