Skip to content

Update main.yml#5

Merged
UltraGenBR merged 1 commit intoUltraGenBR-Actions-01from
UltraGenBR-patch-3
Jun 2, 2025
Merged

Update main.yml#5
UltraGenBR merged 1 commit intoUltraGenBR-Actions-01from
UltraGenBR-patch-3

Conversation

@UltraGenBR
Copy link
Owner

This pull request updates the GitHub Actions workflow in .github/workflows/main.yml to improve dependency management, testing, and logging. The most important changes include adding caching for Python dependencies, handling missing requirements.txt files, enhancing test execution, and uploading logs as artifacts.

Dependency Management Improvements:

  • Added a step to cache Python dependencies using actions/cache@v3, reducing repeated downloads and speeding up builds.
  • Included a check to ensure requirements.txt exists, creating an empty file temporarily if it is missing.

Testing Enhancements:

  • Modified the test execution step to install pytest explicitly and added a warning message if any tests fail, instead of stopping the workflow.

Logging Enhancements:

  • Added a step to upload logs as artifacts using actions/upload-artifact@v4, ensuring logs are available for debugging even if the workflow fails.

Signed-off-by: Marcos Isidio  <187781982+UltraGenBR@users.noreply.github.com>
@gemini-code-assist
Copy link
Contributor

Note

The files in this pull request are not supported by Gemini Code Assist.

@UltraGenBR UltraGenBR marked this pull request as ready for review May 12, 2025 19:16
@UltraGenBR UltraGenBR merged commit afe0503 into UltraGenBR-Actions-01 Jun 2, 2025
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.

1 participant