Skip to content

Update snapshots + use micromamba in bot #482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 8 additions & 16 deletions .github/workflows/update_galata_references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defaults:

jobs:
update-reference-screenshots-ipw7:
name: Update Galata References
name: Update Galata References - ipywidgets 7
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'update galata references') }}
runs-on: ubuntu-latest

Expand All @@ -35,15 +35,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup conda
uses: conda-incubator/setup-miniconda@v3
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@main
with:
activate-environment: ipydatagrid-test-ipw7
environment-name: ipydatagrid-test-ipw7
environment-file: test-environment-ipyw7.yaml
python-version: 3.9
mamba-version: '*'
auto-activate-base: false
channels: conda-forge

- name: Install the package
run: pip install -vv .
Expand All @@ -54,7 +50,7 @@ jobs:
test_folder: ui-tests-ipw7

update-reference-screenshots-ipw8:
name: Update Galata References
name: Update Galata References - ipywidgets 8
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'update galata references') }}
runs-on: ubuntu-latest

Expand All @@ -75,15 +71,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup conda
uses: conda-incubator/setup-miniconda@v3
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@main
with:
activate-environment: ipydatagrid-test-ipw8
environment-name: ipydatagrid-test-ipw8
environment-file: test-environment-ipyw8.yaml
python-version: 3.9
mamba-version: '*'
auto-activate-base: false
channels: conda-forge

- name: Install the package
run: pip install -vv .
Expand Down
2 changes: 1 addition & 1 deletion test-environment-ipyw7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies:
- pip
- python
- nodejs=20
- yarn
- yarn=3
- ipywidgets >=7.6.0,<8
- traitlets >=4.3.0
- traittypes >=0.0.6
Expand Down
2 changes: 1 addition & 1 deletion test-environment-ipyw8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies:
- pip
- python
- nodejs=20
- yarn
- yarn=3
- ipywidgets >=8.0.0,<9
- traitlets >=4.3.0
- traittypes >=0.0.6
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.