diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 82ca904c9..da46c4020 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -32,7 +32,7 @@ jobs: python-version: '3.11' cache: 'poetry' - - name: Install Dependencies + - name: Install Python Dependencies run: | poetry config virtualenvs.in-project true poetry env use python3.11 @@ -40,6 +40,11 @@ jobs: poetry run pip install torch==2.0.1 --extra-index-url https://download.pytorch.org/whl/cpu poetry run pip install aequitas fairlearn vl-convert-python + - name: Install R Dependencies + run: | + sudo apt-get update + sudo apt install r-base r-base-dev + - name: Build the package run: poetry build @@ -52,6 +57,13 @@ jobs: - name: Install Built Package run: sdist-venv/bin/pip install --no-cache-dir "$(ls dist/validmind*.whl | head -n 1)[llm,huggingface]" + - name: 'Setup Virtual Environment for [all]' + run: python -m venv all-venv + + # This proves that the [all] install target works + - name: 'Install Built Package for [all]' + run: all-venv/bin/pip install --no-cache-dir "$(ls dist/validmind*.whl | head -n 1)[all]" + - name: Install Additional Dependencies run: sdist-venv/bin/pip install nbformat papermill jupyter