Skip to content

chore: update GitHub Actions workflow to use 'development' branch and… #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

Msameim181
Copy link
Owner

This pull request updates the GitHub Actions workflow configuration in the .github/workflows/build.yml file to enhance the build and release process. The key changes include renaming the workflow, updating branch names, adding a new job to create and push tags, and modifying the dependencies installation process.

Workflow enhancements:

  • Renamed the workflow from "Build and Test" to "Test and Tag" and updated the branch names from develop to development for both push and pull_request events.
  • Added a new job create-tag that runs after tests are successful and creates a new tag based on the version specified in pyproject.toml when a push event occurs on the main or development branches.

Dependencies and testing:

  • Updated the dependencies installation step to include toml and ensured all dependencies listed in requirements.txt are installed.
  • Added a step to run tests with coverage using pytest --cov before building the package.

@Msameim181 Msameim181 merged commit 493e1a2 into development Dec 12, 2024
3 checks passed
@Msameim181 Msameim181 deleted the refactor/update_github_action branch December 12, 2024 19:52
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