diff --git a/.github/workflows/test_local_integration.yaml b/.github/workflows/test_local_integration.yaml index 7d79efc428..dce00e9310 100644 --- a/.github/workflows/test_local_integration.yaml +++ b/.github/workflows/test_local_integration.yaml @@ -4,6 +4,7 @@ env: TEST_USERNAME: "test-user" TEST_PASSWORD: "P@sswo3d" NEBARI_IMAGE_TAG: "main" + PYTHON_VERSION: "3.11" on: pull_request: @@ -70,7 +71,7 @@ jobs: CONDA: /home/runnerx/miniconda3 with: auto-update-conda: true - python-version: "3.11" + python-version: ${{ env.PYTHON_VERSION }} miniconda-version: "latest" - name: Install JQ @@ -144,6 +145,44 @@ jobs: path: | ./tests/tests_e2e/playwright/videos/ + ### CONDA-STORE TESTS + - name: "Checkout conda-store" + uses: actions/checkout@main + with: + fetch-depth: 0 + repository: soapy1/conda-store + ref: fix-ssl-verify-test-check + path: conda-store + + - name: "Set up conda-store conda env" + uses: conda-incubator/setup-miniconda@v3 + env: + CONDA: /home/runnerx/miniconda3 + with: + environment-file: conda-store/conda-store-server/environment-dev.yaml + miniforge-version: latest + auto-activate-base: false + activate-environment: conda-store-server-dev + python-version: ${{ env.PYTHON_VERSION }} + conda-remove-defaults: "true" + + - name: Install conda-store dependencies + run: | + which python + # install conda-store-server + python -m pip install conda-store/conda-store-server + + - name: Run conda-store-server user_journey tests + env: + NEBARI_CONFIG_PATH: ${{ steps.init.outputs.config }} + KEYCLOAK_USERNAME: ${{ env.TEST_USERNAME }} + KEYCLOAK_PASSWORD: ${{ env.TEST_PASSWORD }} + CONDA_STORE_BASE_URL: https://${{ steps.init.outputs.domain }}/conda-store + CONDA_STORE_TEST_VERIFY_SSL: 0 + run: | + cd conda-store/conda-store-server + python -m pytest -m "user_journey" + ### CLEANUP AFTER TESTS - name: Cleanup nebari deployment # Since this is not critical for most pull requests and takes more than half of the time