{"id":14959489,"url":"https://github.com/streamlit/streamlit-app-action","last_synced_at":"2026-03-09T08:02:39.395Z","repository":{"id":207264389,"uuid":"710990858","full_name":"streamlit/streamlit-app-action","owner":"streamlit","description":"Simple GitHub Action workflows for validating a Streamlit app","archived":false,"fork":false,"pushed_at":"2025-05-08T02:58:52.000Z","size":25,"stargazers_count":17,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T03:33:59.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamlit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-27T22:48:45.000Z","updated_at":"2025-05-08T02:58:56.000Z","dependencies_parsed_at":"2023-11-29T19:27:52.091Z","dependency_job_id":"aad387cc-997e-4c22-a0cc-e8e66d97dfe9","html_url":"https://github.com/streamlit/streamlit-app-action","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.30000000000000004","last_synced_commit":"41ca964347dae42e01cf9e30914b4d0e51fb19b5"},"previous_names":["streamlit/streamlit-app-action"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/streamlit/streamlit-app-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fstreamlit-app-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fstreamlit-app-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fstreamlit-app-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fstreamlit-app-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamlit","download_url":"https://codeload.github.com/streamlit/streamlit-app-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fstreamlit-app-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30287447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: 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":"2024-09-24T13:19:49.679Z","updated_at":"2026-03-09T08:02:39.356Z","avatar_url":"https://github.com/streamlit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# streamlit-app-action\n\nGithub Action providing simple workflows for validating a Streamlit app. This action will:\n\n- Run `pytest` for any tests, including [Streamlit AppTests](https://docs.streamlit.io/library/api-reference/app-testing),\n  that are part of your repo.\n- Run a smoke test AppTest that runs each page of your app and verifies no exceptions are thrown on the initial run\n- Optionally, run [ruff](https://github.com/astral-sh/ruff) for linting and formatting via\n  [ruff-action](https://github.com/ChartBoost/ruff-action).\n\n## Usage\n\nUse the action by creating a `.yml` file in the `.github/workflows/` folder of your GitHub repository with contents\nlike the example below. This specific example will run the ruff linting and smoke testing action each time there's\na push to the `main` branch or a pull request update targeting main.\n\nYou can learn more in the [GitHub Actions documentation](https://docs.github.com/en/actions) and the section on\n[GitHub Actions workflows](https://docs.github.com/en/actions/using-workflows/about-workflows).\n\n```yml\nname: Streamlit app\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\npermissions:\n  contents: read\n\njobs:\n  streamlit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - uses: streamlit/streamlit-app-action@v0.0.3\n        with:\n          app-path: streamlit_app.py\n          ruff: true\n```\n\n### Printing a pretty output of test results\n\n[pytest-results-action](https://github.com/marketplace/actions/pytest-results-actions) is a useful action\nto print the output of pytest runs in your GitHub Actions workflow summary view. You can add it as follows:\n\n```yml\n# ... setup as above ...\n- uses: streamlit/streamlit-app-action@v0.0.3\n  with:\n    app-path: streamlit_app.py\n    ruff: true\n    # Add pytest-args to output junit xml\n    pytest-args: -v --junit-xml=test-results.xml\n- if: always()\n  uses: pmeier/pytest-results-action@v0.6.0\n  with:\n    path: test-results.xml\n    summary: true\n    display-options: fEX\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fstreamlit-app-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlit%2Fstreamlit-app-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fstreamlit-app-action/lists"}