From de62e380a8a3f6ac5359fd063cc9709d15b66fd4 Mon Sep 17 00:00:00 2001 From: Matjaz Gregoric Date: Tue, 25 Apr 2023 12:18:05 +0200 Subject: [PATCH] fix: update test scripts for palm --- .github/workflows/unit-tests-gh-hosted.yml | 4 ++-- .github/workflows/unit-tests.yml | 2 +- .github/workflows/verify-gha-unit-tests-count.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit-tests-gh-hosted.yml b/.github/workflows/unit-tests-gh-hosted.yml index fc5f9bee6371..894f61048e90 100644 --- a/.github/workflows/unit-tests-gh-hosted.yml +++ b/.github/workflows/unit-tests-gh-hosted.yml @@ -9,7 +9,7 @@ on: jobs: run-test: - if: (github.repository != 'openedx/edx-platform' && github.repository != 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == true)) + if: github.repository != 'openedx/edx-platform' && github.repository != 'edx/edx-platform-private' runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -78,7 +78,7 @@ jobs: uses: ./.github/actions/unit-tests collect-and-verify: - if: (github.repository != 'openedx/edx-platform' && github.repository != 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == true)) + if: github.repository != 'openedx/edx-platform' && github.repository != 'edx/edx-platform-private' runs-on: ubuntu-20.04 strategy: matrix: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 69a03bbeafff..5b4b8ed94355 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -9,7 +9,7 @@ on: jobs: run-tests: name: python-${{ matrix.python-version }},django-${{ matrix.django-version }},${{ matrix.shard_name }} - if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == false)) + if: github.repository == 'edx/edx-platform-private' || github.repository == 'openedx/edx-platform' runs-on: [ edx-platform-runner ] strategy: matrix: diff --git a/.github/workflows/verify-gha-unit-tests-count.yml b/.github/workflows/verify-gha-unit-tests-count.yml index c68092942d70..a519c62fa0a0 100644 --- a/.github/workflows/verify-gha-unit-tests-count.yml +++ b/.github/workflows/verify-gha-unit-tests-count.yml @@ -8,7 +8,7 @@ on: jobs: collect-and-verify: - if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == false)) + if: github.repository == 'edx/edx-platform-private' || github.repository == 'openedx/edx-platform' runs-on: [ edx-platform-runner ] steps: - name: sync directory owner