Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(report): Adds a sprint commits report #1880

Merged
merged 1 commit into from
Dec 8, 2023
Merged
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
27 changes: 27 additions & 0 deletions .github/workflows/report-sprint-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Report Sprint Test Suites
run-name: A report for sprint commits

# The report generation is performed ad hoc via manual invocation.
on: workflow_dispatch

env:
reporter: ${{ github.workspace }}/scripts/coverage-metrics/bin/utils/commit-test-suites/gauge-sprint-commits.py
pip_requirements: ${{ github.workspace }}/scripts/coverage-metrics/bin/utils/commit-test-suites/requirements.txt

jobs:
generate-report:
runs-on: ubuntu-latest
steps:
- name: Check out report scripts
uses: actions/checkout@v4
with:
repository: kyma-project/qa-toolkit
path: scripts
- name: Adjust the report scripts
run: |
chmod a+x $reporter
python -m pip install --upgrade pip
pip install -r $pip_requirements
- name: Genarate a report
run: |
$reporter --repo https://github.com/kyma-project/cli.git --days 14 --e2e-path tests/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests/e2e?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose to treat any test that resides in the tests/ directory as a higher-level test