diff --git a/.github/workflows/test-integration-vizro-ai.yml b/.github/workflows/test-integration-vizro-ai.yml deleted file mode 100644 index 3185242bb..000000000 --- a/.github/workflows/test-integration-vizro-ai.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Integration tests for VizroAI - -defaults: - run: - working-directory: vizro-ai - -on: - push: - branches: [main] - pull_request: - branches: - - "main" - -concurrency: - group: test-integration-${{ github.head_ref }} - -env: - PYTHONUNBUFFERED: "1" - FORCE_COLOR: "1" - -jobs: - test-integration-vizro-ai: - name: test-integration-vizro-ai on Py${{ matrix.python-version }} - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.9", "3.10", "3.11"] - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }} - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - - name: Install Hatch - run: pip install --upgrade hatch - - - name: Run vizro-ai integration tests with pypi vizro - run: | - export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} - export OPENAI_API_BASE=${{ secrets.OPENAI_API_BASE }} - hatch run all.py${{ matrix.python-version }}:test-integration - - - name: Run vizro-ai integration tests with local vizro - run: | - export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} - export OPENAI_API_BASE=${{ secrets.OPENAI_API_BASE }} - cd ../vizro-core - hatch build - cd ../vizro-ai - hatch run all.py${{ matrix.python-version }}:pip install ../vizro-core/dist/vizro*.tar.gz - hatch run all.py${{ matrix.python-version }}:test-integration diff --git a/.github/workflows/test-integration-vizro-core.yml b/.github/workflows/test-integration-vizro-core.yml deleted file mode 100644 index d13557fca..000000000 --- a/.github/workflows/test-integration-vizro-core.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Integration tests for Vizro - -defaults: - run: - working-directory: vizro-core - -on: - push: - branches: [main] - pull_request: - branches: - - "main" - -concurrency: - group: test-integration-${{ github.head_ref }} - -env: - PYTHONUNBUFFERED: "1" - FORCE_COLOR: "1" - -jobs: - test-integration-vizro-core: - name: test-integration-vizro-core on Py${{ matrix.python-version }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] - - steps: - - uses: actions/checkout@v4 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - - name: Install Hatch - run: pip install --upgrade hatch - - - name: List dependencies - run: hatch run all.py${{ matrix.python-version }}:pip freeze - - - name: Run integration tests - run: hatch run all.py${{ matrix.python-version }}:test-integration diff --git a/.github/workflows/test-unit-vizro-ai.yml b/.github/workflows/test-unit-vizro-ai.yml deleted file mode 100644 index f6c3b288e..000000000 --- a/.github/workflows/test-unit-vizro-ai.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Unit tests for VizroAI - -defaults: - run: - working-directory: vizro-ai - -on: - push: - branches: [main] - pull_request: - branches: - - "main" - -concurrency: - group: test-unit-${{ github.head_ref }} - -env: - PYTHONUNBUFFERED: "1" - FORCE_COLOR: "1" - -jobs: - test-unit-vizro-ai: - name: test-unit-vizro-ai on Py${{ matrix.python-version }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - python-version: ["3.9", "3.10", "3.11"] - - steps: - - uses: actions/checkout@v4 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - - name: Install Hatch - run: pip install --upgrade hatch - - - name: List dependencies - run: hatch run all.py${{ matrix.python-version }}:pip freeze - - - name: Run unit tests - run: | - hatch run all.py${{ matrix.python-version }}:test-unit-coverage diff --git a/.github/workflows/test-unit-vizro-core.yml b/.github/workflows/test-unit-vizro-core.yml index bdb220601..f745761b9 100644 --- a/.github/workflows/test-unit-vizro-core.yml +++ b/.github/workflows/test-unit-vizro-core.yml @@ -29,7 +29,6 @@ jobs: include: - python-version: "3.11" hatch-env: all.py3.11 - label: lower - python-version: "3.11" hatch-env: all.py3.11 label: lower