Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion policy/templates/releng/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
{{- if eq .Name "tyk-analytics" }}
report_logs:
runs-on: ubuntu-latest
needs: [test-controller-ui, test-controller-api, test-controller-distros, upgrade-deb, upgrade-rpm, release-tests]
needs: [test-controller-ui, test-controller-api, test-controller-distros, upgrade-deb, upgrade-rpm, release-tests, ui-tests, api-tests]
if: always()
name: Report GH Logs on Failure
permissions:
Expand All @@ -72,6 +72,22 @@ jobs:
github_token: ${{`{{ secrets.GITHUB_TOKEN }}`}}
gh_logs_analyser_token: ${{`{{ secrets.GH_LOGS_ANALYSER }}`}}
{{- end }}
{{- if ne .Name "portal" }}
gather_test_results:
runs-on: ubuntu-latest
{{- if eq .Name "tyk-analytics" }}
needs: [ui-tests, api-tests]
{{- else }}
needs: [api-tests]
{{- end }}
name: Gather Test Results
permissions:
actions: read
contents: read
steps:
- name: Check test results
uses: TykTechnologies/github-actions/.github/actions/tests/gather-test-results/action.yaml@main
{{- end }}
{{/*
Local Variables:
mode: go-template
Expand Down