Skip to content

Commit

Permalink
Update CI package locks
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and iisakkirotko committed Mar 19, 2024
1 parent 56de5b9 commit eceb1f4
Showing 1 changed file with 50 additions and 12 deletions.
62 changes: 50 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- uses: actions/download-artifact@v2
with:
Expand All @@ -229,14 +230,26 @@ jobs:
id: install_no_lock
run: |
mkdir -p .ci-package-locks/integration
pip install ".[dev, documentation, extra, flask, pytest]" "voila~=${{ matrix.voila }}" "jupyterlab<4" "pydantic<2" "playwright==1.41.2"
(cd packages/solara-enterprise && pip install ".[ssg,auth]" "ipywidgets~=${{ matrix.ipywidgets }}")
pip freeze > ${{ env.LOCK_FILE_LOCATION }}
for file in dist/*.whl; do
pip install $file"[dev, documentation, extra, flask, pytest]"
done
for file in packages/solara-enterprise/dist/*.whl; do
pip install $file"[ssg,auth]"
done
pip install "voila~=${{ matrix.voila }}" "jupyterlab<4" "pydantic<2" "playwright==1.41.2" "ipywidgets~=${{ matrix.ipywidgets }}"
pip freeze --exclude solara --exclude solara-enterprise > ${{ env.LOCK_FILE_LOCATION }}
git diff --quiet && echo "::set-output name=exit_code::'NO_DIFF'"
- name: Install
if: github.event_name != 'schedule' && steps.prepare.outputs.locks_exist == 'true'
run: pip install -r ${{ env.LOCK_FILE_LOCATION }}
run: |
pip install -r ${{ env.LOCK_FILE_LOCATION }}
for file in dist/*.whl; do
pip install $file"[dev, documentation, extra, flask, pytest]"
done
for file in packages/solara-enterprise/dist/*.whl; do
pip install $file"[ssg,auth]"
done
- name: Install playwright
run: playwright install
Expand Down Expand Up @@ -293,6 +306,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- uses: actions/download-artifact@v2
with:
Expand All @@ -318,16 +332,28 @@ jobs:
if: github.event_name == 'schedule' || steps.prepare.outputs.locks_exist == 'false'
run: |
mkdir -p .ci-package-locks/integration-vue3
pip install ".[dev, documentation, flask, pytest, server]" "jupyterlab<4" "voila~=${{ matrix.voila }}" "playwright==1.41.2" "pydantic<2"
(cd packages/solara-enterprise && pip install ".[ssg,auth]" "ipywidgets~=${{ matrix.ipywidgets }}")
for file in dist/*.whl; do
pip install $file"[dev, documentation, extra, flask, pytest]"
done
for file in packages/solara-enterprise/dist/*.whl; do
pip install $file"[ssg,auth]"
done
pip install "jupyterlab<4" "voila~=${{ matrix.voila }}" "playwright==1.41.2" "pydantic<2" "ipywidgets~=${{ matrix.ipywidgets }}"
pip install jupyter_core jupyter-packaging
pip install --pre ipyvue ipyvuetify
pip freeze > ${{ env.LOCK_FILE_LOCATION }}
pip freeze --exclude solara --exclude solara-enterprise > ${{ env.LOCK_FILE_LOCATION }}
git diff --quiet && echo "::set-output name=exit_code::'NO_DIFF'"
- name: Install
if: github.event_name != 'schedule' && steps.prepare.outputs.locks_exist == 'true'
run: pip install -r ${{ env.LOCK_FILE_LOCATION }}
run: |
pip install -r ${{ env.LOCK_FILE_LOCATION }}
for file in dist/*.whl; do
pip install $file"[dev, documentation, extra, flask, pytest]"
done
for file in packages/solara-enterprise/dist/*.whl; do
pip install $file"[ssg,auth]"
done
- name: Install playwright
run: playwright install
Expand Down Expand Up @@ -402,14 +428,26 @@ jobs:
if: github.event_name == 'schedule' || steps.prepare.outputs.locks_exist == 'false'
run: |
mkdir -p .ci-package-locks/unit
pip install ".[dev, extra]" "jupyterlab<4" diskcache redis "ipywidgets~=${{ matrix.ipywidgets }}"
(cd packages/solara-enterprise && pip install ".[ssg,auth]")
pip freeze > ${{ env.LOCK_FILE_LOCATION }}
for file in dist/*.whl; do
pip install $file"[dev, extra]"
done
for file in packages/solara-enterprise/dist/*.whl; do
pip install $file"[ssg,auth]"
done
pip install "jupyterlab<4" diskcache redis "ipywidgets~=${{ matrix.ipywidgets }}"
pip freeze --exclude solara --exclude solara-enterprise > ${{ env.LOCK_FILE_LOCATION }}
git diff --quiet && echo "::set-output name=exit_code::'NO_DIFF'"
- name: Install
if: github.event_name != 'schedule' && steps.prepare.outputs.locks_exist == 'true'
run: pip install -r ${{ env.LOCK_FILE_LOCATION }}
run: |
pip install -r ${{ env.LOCK_FILE_LOCATION }}
for file in dist/*.whl; do
pip install $file"[dev, extra]"
done
for file in packages/solara-enterprise/dist/*.whl; do
pip install $file"[ssg,auth]"
done
- name: Start Redis
if: matrix.os != 'windows' && steps.install_no_lock.outputs.exit_code != 'NO_DIFF'
Expand Down

0 comments on commit eceb1f4

Please sign in to comment.