Skip to content
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

fix: Enhance release workflow and setup script reliability #235

Merged
merged 8 commits into from
Jan 2, 2025

Conversation

tosin2013
Copy link
Contributor

@tosin2013 tosin2013 commented Dec 29, 2024

Purpose

This PR improves two critical components of our project:

  1. The release.yml workflow that handles our automated release process
  2. The setup.sh script that manages our development environment

Understanding Key Components

setup.sh

The setup.sh script is our primary setup and development tool. It handles:

  1. Environment Setup

    • Creates and configures Python virtual environment
    • Installs required dependencies
    • Sets up development tools
  2. Framework Configuration

    • Configures CrewAI and AutoGen frameworks
    • Sets up API keys and endpoints
  3. Testing Environment

    # Run full setup with tests
    ./setup.sh --all --cicd
    
    # Run specific framework setup
    ./setup.sh --framework crewai
    ./setup.sh --framework autogen
  4. Key Options

    • --all: Install all dependencies
    • --cicd: Run in CI/CD mode (non-interactive)
    • --framework: Specify framework (crewai/autogen)
    • --help: Show all available options

release.yml

The release.yml workflow handles our release process and ensures synchronization between forks and the upstream repository.

  1. Purpose

    • Automates release creation
    • Ensures test coverage
    • Synchronizes tags between repositories
    • Maintains version consistency
  2. Key Features

    • Multi-OS testing (Ubuntu 22.04 and 24.04)
    • Framework-specific testing
    • API rate limiting protection
    • Secure token handling
  3. Workflow Steps

    # Trigger workflow
    gh workflow run release.yml -f tag=v2.0.10 -f fork_owner=yourusername
  4. Testing Process

    • Basic functionality tests
    • Framework-specific features
    • Core functionality
    • Agent generation
    • Custom tools integration

@tosin2013
Copy link
Contributor Author

I did have issues on determining how to test praison code in the end too end testing

@MervinPraison MervinPraison merged commit c4231b1 into MervinPraison:main Jan 2, 2025
1 of 2 checks passed
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