Skip to content

Commit

Permalink
chore: update ci, backport of #1550
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Mar 14, 2023
1 parent 6b96051 commit 7665ae2
Show file tree
Hide file tree
Showing 6 changed files with 9,966 additions and 17 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ defaults:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:

- name: Checkout
uses: actions/checkout@v2

- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@main
with:
activate-environment: bqplot-test
environment-name: bqplot-test
environment-file: test-environment.yml
python-version: ${{ matrix.python-version }}
mamba-version: "*"
Expand Down Expand Up @@ -88,17 +88,17 @@ jobs:
path: ./dist

visual-regression-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [build]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@main
with:
activate-environment: bqplot-test
environment-name: bqplot-test
environment-file: test-environment.yml
python-version: 3.9
mamba-version: "*"
Expand Down Expand Up @@ -174,10 +174,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@main
with:
activate-environment: bqplot-test
environment-name: bqplot-test
environment-file: test-environment.yml
python-version: ${{ matrix.python-version }}
mamba-version: "*"
Expand Down Expand Up @@ -224,8 +224,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@main
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
Expand All @@ -237,7 +237,7 @@ jobs:
path: ./dist

- name: Install JupyterLab 2
run: mamba install yarn jupyterlab=2
run: micromamba install yarn jupyterlab=2

- name: Install the labextension
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"metadata": {},
"source": [
"### US Equity market performance from 1995 to 2020\n",
"In this visualization we'll look S&P 500 Index performance from 1995 to 2020. The visulization consists of two charts:\n",
"In this visualization we'll look S&P 500 Index performance from 1995 to 2020. The visualization consists of two charts:\n",
"* Time Series Chart of Index prices\n",
"* Histogram of the log returns\n",
"\n",
Expand Down
3 changes: 2 additions & 1 deletion test-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
dependencies:
- pip
- python
- yarn
- yarn <2
- nodejs=16
- ipywidgets >=8
- traitlets >=4.3.0
Expand All @@ -13,6 +13,7 @@ dependencies:
- pandas >=1.0.0,<2.0.0
- scipy
- jupyterlab=3.2
- notebook
- jupyter-packaging
- pytest
- nbval
Expand Down

0 comments on commit 7665ae2

Please sign in to comment.