diff --git a/.github/workflows/skore.yml b/.github/workflows/skore.yml index 08dfba238..3d3d74da8 100644 --- a/.github/workflows/skore.yml +++ b/.github/workflows/skore.yml @@ -11,16 +11,16 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest", "windows-latest"] - python: ["3.9", "3.10", "3.11", "3.12"] + os: ["windows-latest"] # ["ubuntu-latest", "windows-latest"] + python: ["3.12"] # ["3.9", "3.10", "3.11", "3.12"] scikit-learn: ["1.6"] - include: - - os: "ubuntu-latest" - python: "3.12" - scikit-learn: "1.4" - - os: "ubuntu-latest" - python: "3.12" - scikit-learn: "1.5" + # include: + # - os: "ubuntu-latest" + # python: "3.12" + # scikit-learn: "1.4" + # - os: "ubuntu-latest" + # python: "3.12" + # scikit-learn: "1.5" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -36,7 +36,6 @@ jobs: path: 'skore/venv' key: python-venv-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.scikit-learn }}-${{ hashFiles('skore/pyproject.toml') }} - - name: Setup python-venv working-directory: "skore/" run: | @@ -47,13 +46,18 @@ jobs: # Activate venv for each step depending on the OS if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then - echo "${PWD}/venv/bin" >> ${GITHUB_PATH} - echo "VIRTUAL_ENV=${PWD}/venv" >> ${GITHUB_ENV} + source venv/bin/activate else - echo "${PWD}/venv/Scripts" >> ${GITHUB_PATH} - echo "VIRTUAL_ENV=${PWD}/venv" >> ${GITHUB_ENV} + venv/Scripts/activate.bat + + echo SOURCING" + echo "${PATH}" fi + echo "EXPORTING" + echo "${PATH}" >> "${GITHUB_PATH}" + echo "VIRTUAL_ENV=${VIRTUAL_ENV}" >> "${GITHUB_ENV}" + - name: Install dependencies working-directory: "skore/" if: steps.cache-python-venv.outputs.cache-hit != 'true' @@ -73,6 +77,11 @@ jobs: timeout-minutes: 10 working-directory: "skore/" run: | + echo $PATH + echo $VIRTUAL_ENV + whereis skore + python -m pip list + # Lint pre-commit run --all-files ruff