Skip to content

Commit

Permalink
ci: optimize some jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsvetkov-splunk committed Apr 22, 2024
1 parent 0e9a479 commit 55b964e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ jobs:

build:
needs:
- fossa-scan
- build-ui
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -146,8 +145,6 @@ jobs:
test-smoke:
name: test-smoke ${{ matrix.python-version }}
needs:
- build
runs-on: ubuntu-latest
continue-on-error: true
strategy:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 55b964e

Please sign in to comment.