diff --git a/.github/actions/setup-test-env/action.yml b/.github/actions/setup-test-env/action.yml index dc0066c..3014128 100644 --- a/.github/actions/setup-test-env/action.yml +++ b/.github/actions/setup-test-env/action.yml @@ -29,22 +29,23 @@ runs: # Display conda info conda info + # - name: Restore conda environment +# id: cache +# uses: actions/cache@v4 +# with: +# path: ${{ env.CONDA }}/envs +# key: +# env-${{ runner.os }}-${{ runner.arch }}-${{ inputs.python-version +# }}|${{ hashFiles('environment-dev.yml', 'pyproject.toml') }} +# restore-keys: | +# env-${{ runner.os }}-${{ runner.arch }}-${{ inputs.python-version }} + - id: install shell: bash -el {0} run: | # Install bokeh-fastapi - which pip - echo '#########' - pip -V - echo '#########' conda install pip - echo '#########' - which pip - echo '#########' - pip -V - echo '#########' pip install . - exit 1 BOKEH_VERSION=$(conda list --json | jq --raw-output '.[] | select(.name=="bokeh").version') echo "bokeh-version=${BOKEH_VERSION}" | tee --append "${GITHUB_OUTPUT}" @@ -55,17 +56,6 @@ runs: path: ./tests/bokeh ref: ${{ steps.install.outputs.bokeh-version }} -# - name: Restore conda environment -# id: cache -# uses: actions/cache@v4 -# with: -# path: ${{ env.CONDA }}/envs -# key: -# env-${{ runner.os }}-${{ runner.arch }}-${{ inputs.python-version -# }}|${{ hashFiles('environment-dev.yml', 'pyproject.toml') }} -# restore-keys: | -# env-${{ runner.os }}-${{ runner.arch }}-${{ inputs.python-version }} - - # if: steps.cache.outputs.cache-hit != 'true' shell: bash run: |