From f6dce0199e25ba7e3b7826577cbad629b060e319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Linkiewicz?= Date: Fri, 7 Feb 2025 12:55:12 +0100 Subject: [PATCH] Update gtest jobs for a better naming convention. (#1066) Update `ubuntu_build_with_gtest.yml` (gtest) for a better naming convention. --- .github/workflows/ubuntu_build_with_gtest.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ubuntu_build_with_gtest.yml b/.github/workflows/ubuntu_build_with_gtest.yml index ec5bc8f91..2aa689abb 100644 --- a/.github/workflows/ubuntu_build_with_gtest.yml +++ b/.github/workflows/ubuntu_build_with_gtest.yml @@ -1,4 +1,4 @@ -name: gtest +name: gtest-bare-metal on: # allow manually trigger @@ -31,8 +31,8 @@ permissions: contents: read jobs: - changes: - runs-on: ubuntu-latest + gtest-check-for-changes: + runs-on: ubuntu-22.04 permissions: pull-requests: read outputs: @@ -45,9 +45,9 @@ jobs: with: filters: .github/path_filters.yml - Build: - needs: changes - if: ${{ github.repository == 'OpenVisualCloud/Media-Transport-Library' && needs.changes.outputs.changed == 'true' }} + gtest-build-mtl: + needs: gtest-check-for-changes + if: ${{ github.repository == 'OpenVisualCloud/Media-Transport-Library' && needs.gtest-check-for-changes.outputs.changed == 'true' }} runs-on: [Linux, self-hosted, DPDK] timeout-minutes: 60 @@ -89,9 +89,9 @@ jobs: ./build.sh sudo ldconfig - Test: - needs: [changes, Build] - if: ${{ github.repository == 'OpenVisualCloud/Media-Transport-Library' && needs.changes.outputs.changed == 'true' }} + gtest-perform-tests: + needs: [gtest-check-for-changes, gtest-build-mtl] + if: ${{ github.repository == 'OpenVisualCloud/Media-Transport-Library' && needs.gtest-check-for-changes.outputs.changed == 'true' }} runs-on: [Linux, self-hosted, DPDK] steps: - name: Harden Runner