Skip to content

Commit

Permalink
removed commented out parts
Browse files Browse the repository at this point in the history
  • Loading branch information
eavanvalkenburg committed Nov 26, 2024
1 parent f6ecf97 commit a26adc8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 140 deletions.
131 changes: 0 additions & 131 deletions .github/workflows/python-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,137 +247,6 @@ jobs:
- name: Minimize uv cache
run: uv cache prune --ci

# python-merge-gate:
# name: Python Pre-Merge Integration Tests
# needs: paths-filter
# if: github.event_name != 'pull_request' && github.event_name != 'schedule' && needs.paths-filter.outputs.pythonChanges == 'true'
# strategy:
# max-parallel: 1
# fail-fast: false
# matrix:
# python-version: ["3.11"]
# os: [ubuntu-latest]
# defaults:
# run:
# working-directory: python
# runs-on: ${{ matrix.os }}
# environment: "integration"
# env:
# UV_PYTHON: ${{ matrix.python-version }}
# MEMORY_CONCEPT_SAMPLE: "true"
# COMPLETIONS_CONCEPT_SAMPLE: "true"
# steps:
# - uses: actions/checkout@v4
# - name: Set up uv
# uses: astral-sh/setup-uv@v3
# with:
# version: "0.5.2"
# enable-cache: true
# cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
# - name: Install dependencies with hnswlib native disabled
# if: matrix.os == 'macos-latest' && matrix.python-version == '3.11'
# run: |
# export HNSWLIB_NO_NATIVE=1
# uv sync --all-extras --dev
# - name: Install dependencies with hnswlib native enabled
# if: matrix.os != 'macos-latest' || matrix.python-version != '3.11'
# run: |
# uv sync --all-extras --dev
# - name: Install Ollama
# if: matrix.os == 'ubuntu-latest'
# run: |
# curl -fsSL https://ollama.com/install.sh | sh
# ollama serve &
# sleep 5
# - name: Pull model in Ollama
# if: matrix.os == 'ubuntu-latest'
# run: |
# ollama pull ${{ vars.OLLAMA_CHAT_MODEL_ID }}
# ollama pull ${{ vars.OLLAMA_CHAT_MODEL_ID_IMAGE }}
# ollama pull ${{ vars.OLLAMA_CHAT_MODEL_ID_TOOL_CALL }}
# ollama pull ${{ vars.OLLAMA_TEXT_MODEL_ID }}
# ollama pull ${{ vars.OLLAMA_EMBEDDING_MODEL_ID }}
# ollama list
# - name: Google auth
# uses: google-github-actions/auth@v2
# with:
# project_id: ${{ vars.VERTEX_AI_PROJECT_ID }}
# credentials_json: ${{ secrets.VERTEX_AI_SERVICE_ACCOUNT_KEY }}
# - name: Set up gcloud
# uses: google-github-actions/setup-gcloud@v2
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v4
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ${{ vars.AWS_REGION }}
# - name: Setup Redis Stack Server
# if: matrix.os == 'ubuntu-latest'
# run: docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
# - name: Setup Weaviate docker deployment
# if: matrix.os == 'ubuntu-latest'
# run: docker run -d -p 8080:8080 -p 50051:50051 cr.weaviate.io/semitechnologies/weaviate:1.26.6
# - name: Start Azure Cosmos DB emulator
# if: matrix.os == 'windows-latest'
# run: |
# Write-Host "Launching Cosmos DB Emulator"
# Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
# Start-CosmosDbEmulator
# - name: Azure CLI Login
# if: github.event_name != 'pull_request'
# uses: azure/login@v2
# with:
# client-id: ${{ secrets.AZURE_CLIENT_ID }}
# tenant-id: ${{ secrets.AZURE_TENANT_ID }}
# subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
# - name: Run Integration Tests - Completions
# id: run_tests_completions
# timeout-minutes: 15
# shell: bash
# run: |
# uv run pytest -n logical --dist loadfile --dist worksteal ./tests/integration/completions -v --junitxml=pytest-completions.xml
# - name: Run Integration Tests - Embeddings
# id: run_tests_embeddings
# timeout-minutes: 5
# shell: bash
# run: |
# uv run pytest -n logical --dist loadfile --dist worksteal ./tests/integration/embeddings -v --junitxml=pytest-embeddings.xml
# - name: Run Integration Tests - Memory
# id: run_tests_memory
# timeout-minutes: 10
# shell: bash
# run: |
# uv run pytest -n logical --dist loadfile --dist worksteal ./tests/integration/memory -v --junitxml=pytest-memory.xml
# - name: Run Integration Tests - Cross Language
# id: run_tests_cross_language
# timeout-minutes: 5
# shell: bash
# run: |
# uv run pytest -n logical --dist loadfile --dist worksteal ./tests/integration/cross_language -v --junitxml=pytest-cross.xml
# - name: Run Integration Tests - Planning
# id: run_tests_planning
# timeout-minutes: 5
# shell: bash
# run: |
# uv run pytest -n logical --dist loadfile --dist worksteal ./tests/integration/planning -v --junitxml=pytest-planning.xml
# - name: Run Integration Tests - Samples
# id: run_tests_samples
# timeout-minutes: 5
# shell: bash
# run: |
# uv run pytest -n logical --dist loadfile --dist worksteal ./tests/samples -v --junitxml=pytest-samples.xml
# - name: Surface failing tests
# if: always()
# uses: pmeier/pytest-results-action@main
# with:
# path: python/pytest-*.xml
# summary: true
# display-options: fEX
# fail-on-empty: true
# title: Test results
# - name: Minimize uv cache
# run: uv cache prune --ci

python-integration-tests:
needs: paths-filter
if: (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && needs.paths-filter.outputs.pythonChanges == 'true'
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/python-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,8 @@ jobs:
run-id: ${{ github.event.workflow_run.id }}
path: python/
merge-multiple: true
# workflow: python-unit-tests.yml
# if_no_artifact_found: ignore
- name: Display structure of downloaded files
run: ls python/
# - name: Download pytest
# uses: dawidd6/action-download-artifact@v6
# with:
# name: pytest-${{ env.FILE_ID }}.xml
# github_token: ${{ secrets.GH_ACTIONS_PR_WRITE }}
# workflow: python-unit-tests.yml
# if_no_artifact_found: ignore
- name: Pytest coverage comment
id: coverageComment
uses: MishaKav/pytest-coverage-comment@main
Expand Down

0 comments on commit a26adc8

Please sign in to comment.