Skip to content

Commit

Permalink
added workflow Report Workflow Stats (#9330)
Browse files Browse the repository at this point in the history
## Summary of changes
CI: Collect stats for Github Workflows Runs
  • Loading branch information
fedordikarev authored Oct 9, 2024
1 parent 72ef0e0 commit 108a211
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/report-workflow-stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Report Workflow Stats

on:
workflow_run:
workflows:
- Add `external` label to issues and PRs created by external users
- Benchmarking
- Build and Test
- Build and Test Locally
- Build build-tools image
- Check Permissions
- Check build-tools image
- Check neon with extra platform builds
- Cloud Regression Test
- Create Release Branch
- Handle `approved-for-ci-run` label
- Lint GitHub Workflows
- Notify Slack channel about upcoming release
- Periodic pagebench performance test on dedicated EC2 machine in eu-central-1 region
- Pin build-tools image
- Prepare benchmarking databases by restoring dumps
- Push images to ACR
- Test Postgres client libraries
- Trigger E2E Tests
- cleanup caches by a branch
types: [completed]

jobs:
gh-workflow-stats:
name: Github Workflow Stats
runs-on: ubuntu-22.04
permissions:
actions: read
steps:
- name: Export GH Workflow Stats
uses: fedordikarev/[email protected]
with:
DB_URI: ${{ secrets.GH_REPORT_STATS_DB_RW_CONNSTR }}
DB_TABLE: "gh_workflow_stats_neon"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_RUN_ID: ${{ github.event.workflow_run.id }}

1 comment on commit 108a211

@github-actions
Copy link

Choose a reason for hiding this comment

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

5182 tests run: 4963 passed, 2 failed, 217 skipped (full report)


Failures on Postgres 16

# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_pgbench[neon-release-pg16-github-actions-selfhosted-45-10] or test_pgbench[vanilla-release-pg16-github-actions-selfhosted-45-10]"
Flaky tests (2)

Postgres 17

Code coverage* (full report)

  • functions: 31.5% (7548 of 23969 functions)
  • lines: 49.4% (60365 of 122113 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
108a211 at 2024-10-09T17:39:00.314Z :recycle:

Please sign in to comment.