Skip to content

Conversation

@shiningflash
Copy link
Owner

This pull request updates the GitHub Actions workflow in .github/workflows/ci.yml to enhance permissions management, improve test reporting, and integrate Allure reporting for better test result visualization. The most significant changes are grouped below:

Workflow Permissions and Security:

  • Moved and expanded the permissions block inside the test job, adding pages: write and id-token: write to support publishing and authentication needs.

Testing and Reporting Enhancements:

  • Added allure-pytest to the dependencies and updated the test step to generate Allure results using the --alluredir=allure-results option for pytest.
  • Introduced a new step to publish the Allure report using simple-works/allure-report-action@v1, enabling Allure report publishing on pull requests and main branches.

General Workflow Improvements:

  • Cleaned up comments and streamlined the setup and test steps for better readability and maintainability.

@github-actions
Copy link

github-actions bot commented Nov 8, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/core
   __init__.py00100% 
   config.py2322 91%
   logger.py220100% 
   requests.py1544 73%
   retry.py2111 95%
   security.py2622 92%
   validators.py400100% 
src/core/exceptions
   __init__.py40100% 
   api.py2911 97%
   decorators.py2377 70%
   resource.py130100% 
src/schemas
   __init__.py00100% 
   contacts.py140100% 
   errors.py170100% 
   messages.py3988 79%
   webhook.py80100% 
src/sdk
   __init__.py00100% 
   client.py4222 95%
src/sdk/features
   __init__.py00100% 
   contacts.py4733 94%
   messages.py441010 77%
src/server
   __init__.py00100% 
   app.py2633 88%
TOTAL4534391% 

Tests Skipped Failures Errors Time
55 0 💤 1 ❌ 0 🔥 6.970s ⏱️

@github-actions
Copy link

github-actions bot commented Nov 8, 2025

📊 Test Report Ready

✅ View detailed Allure test report with module-wise results, failures, coverage trends, and build durations:

🔗 Open Allure Report


Report includes: Test Suites, Failures, Coverage Trends, Execution Timeline, and Module-wise Breakdown.

@github-actions
Copy link

github-actions bot commented Nov 8, 2025

📊 Test Report Ready

View detailed Allure test report with module-wise results, failures, coverage trends, and build durations:

🔗 Open Allure Report

Report includes: Test Suites, Failures, Coverage Trends, Execution Timeline, and Module-wise Breakdown.

@github-actions
Copy link

github-actions bot commented Nov 8, 2025

📊 Test Report ⚠️ (Some tests failed)

Coverage trends • Module breakdown • Failure analysis • Execution timeline

View Allure Dashboard

⚠️ NB: If the dashboard doesn't update immediately, try a hard reload (Cmd + Shift + R on Mac) or open in incognito mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants