mirror of
https://github.com/goauthentik/authentik
synced 2026-04-27 09:57:31 +02:00
33 lines
947 B
YAML
33 lines
947 B
YAML
name: "Process test results"
|
|
description: Convert test results to JUnit, add them to GitHub Actions and codecov
|
|
|
|
inputs:
|
|
files:
|
|
description: Comma-separated explicit list of files to upload
|
|
flags:
|
|
description: Codecov flags
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v5
|
|
with:
|
|
files: ${{ inputs.files }}
|
|
flags: ${{ inputs.flags }}
|
|
use_oidc: true
|
|
- uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v5
|
|
with:
|
|
files: ${{ inputs.files }}
|
|
flags: ${{ inputs.flags }}
|
|
use_oidc: true
|
|
report_type: test_results
|
|
- name: PostgreSQL Logs
|
|
shell: bash
|
|
run: |
|
|
if [[ $RUNNER_DEBUG == '1' ]]; then
|
|
docker stop setup-postgresql-1
|
|
echo "::group::PostgreSQL Logs"
|
|
docker logs setup-postgresql-1
|
|
echo "::endgroup::"
|
|
fi
|