Skip to content
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

chore: update ci, backport of #1550 #1588

Merged
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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