{"id":24087964,"url":"https://github.com/tinybirdco/pytest-analytics-examples","last_synced_at":"2026-02-17T11:34:10.635Z","repository":{"id":179265696,"uuid":"663212408","full_name":"tinybirdco/pytest-analytics-examples","owner":"tinybirdco","description":"Monitor critical CI metrics with Tinybird","archived":false,"fork":false,"pushed_at":"2023-07-07T15:21:41.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T02:03:25.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinybirdco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-06T20:01:39.000Z","updated_at":"2024-03-21T08:42:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b2a465f-95ba-48ee-98a7-4e8f7ecdaf1e","html_url":"https://github.com/tinybirdco/pytest-analytics-examples","commit_stats":null,"previous_names":["tinybirdco/pytest-analytics-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tinybirdco/pytest-analytics-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fpytest-analytics-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fpytest-analytics-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fpytest-analytics-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fpytest-analytics-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinybirdco","download_url":"https://codeload.github.com/tinybirdco/pytest-analytics-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fpytest-analytics-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29542524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T08:11:05.436Z","status":"ssl_error","status_checked_at":"2026-02-17T08:09:38.860Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-10T03:56:41.307Z","updated_at":"2026-02-17T11:34:10.608Z","avatar_url":"https://github.com/tinybirdco.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monitor CI pipeline metrics with Tinybird\nThis repo includes Tinybird resources - a datasource file and nine (9) pipe files - to calculate some typical CI pipeline metrics based on data created by the [pytest-tinybird](https://github.com/tinybirdco/pytest-tinybird) plugin. You can use these as examples in your CI analytics development.\n\n## How to use these files\nThese files are meant to be used in conjunction with the `pytest-tinybird` plugin. For more information, please read [this](link to blog post)\n\nFollow these steps to make use of these files:\n1. Install the [pytest-tinybird plugin](https://pypi.org/project/pytest-tinybird/) in your pytest environment using the Python package installer [pip](https://pip.pypa.io/en/stable/). \n2. Create a [free Tinybird account](https://www.tinybird.co/signup?referrer=github) and set up a Workspace.\n3. Clone this repo and use the [Tinybird CLI](https://www.tinybird.co/docs/quick-start-cli.html) to push the files to your Workspace.\n4. Set three environment variables in your pytest environment:\n   \n  - ``TINYBIRD_URL``: For example ``https://api.tinybird.co`` or ``https://api.us-east.tinybird.co`` depending on your Workspace region.\n  - ``TINYBIRD_DATASOURCE``: The name of your Data Source in Tinybird, e.g. ``test_reports`` in this repo.\n  - ``TINYBIRD_TOKEN``: A Tinybird [Auth Token](https://www.tinybird.co/docs/concepts/auth-tokens.html) with DATASOURCE:WRITE permissions.\n\n5. Run your instance of pytest with the `--report-to-tinybird` option.\n6. Use your Tinybird APIs as you'd like!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinybirdco%2Fpytest-analytics-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinybirdco%2Fpytest-analytics-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinybirdco%2Fpytest-analytics-examples/lists"}