Skip to content

Commit

Permalink
ci: install pytest-rerunfailures and use correct matrix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
artemrys committed Oct 26, 2023
1 parent 39b26b0 commit bf15f1a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:
path: output/*

run-ui-tests:
name: test-ui Splunk ${{ matrix.splunk.version }} -k ${{ matrix.test_suite }}
needs:
- meta
- build
Expand Down Expand Up @@ -158,7 +159,7 @@ jobs:
- run: |
./run_splunk.sh ${{ matrix.splunk.version }}
until curl -Lsk "https://localhost:8088/services/collector/health" &>/dev/null ; do echo -n "Waiting for HEC-" && sleep 5 ; done
- run: poetry run pytest tests/ui -k "${{ matrix.test-suite }}" --headless --junitxml=test-results/junit.xml
- run: poetry run pytest tests/ui -k "${{ matrix.test_suite }}" --headless --junitxml=test-results/junit.xml
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down
18 changes: 17 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Sphinx = "*"
sphinx_rtd_theme = "*"
sphinx-panels = "*"
splunk-add-on-ucc-framework = "^5.28.5"
pytest-rerunfailures = "^12.0"

[build-system]
requires = ["poetry_core>=1.0.0"]
Expand Down

0 comments on commit bf15f1a

Please sign in to comment.