From 55b964ec8ecbf3215a7c3d45a7b68ce45bcd4b4a Mon Sep 17 00:00:00 2001 From: Viktor Tsvetkov <142901247+vtsvetkov-splunk@users.noreply.github.com> Date: Mon, 22 Apr 2024 18:14:10 +0200 Subject: [PATCH] ci: optimize some jobs --- .github/workflows/build-test-release.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index 25de85a14..91ae79c55 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -93,7 +93,6 @@ jobs: build: needs: - - fossa-scan - build-ui runs-on: ubuntu-latest steps: @@ -146,8 +145,6 @@ jobs: test-smoke: name: test-smoke ${{ matrix.python-version }} - needs: - - build runs-on: ubuntu-latest continue-on-error: true strategy: @@ -163,13 +160,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: actions/download-artifact@v4 - with: - name: UCC-UI-build - path: built-ui/ - run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1 - run: | - cp -R built-ui/. splunk_add_on_ucc_framework/package/appserver/static/js/ poetry install poetry run pytest tests/smoke @@ -206,14 +198,6 @@ jobs: test-ui: name: test-ui Splunk ${{ matrix.splunk.version }} -m ${{ matrix.test-mark }} - if: | - github.base_ref == 'main' || - github.ref_name == 'main' || - github.base_ref == 'develop' || - github.ref_name == 'develop' || - startsWith(github.ref_name, 'release') || - startsWith(github.base_ref, 'release') || - contains(github.event.pull_request.labels.*.name, 'run-ui-tests') runs-on: ubuntu-latest permissions: id-token: write