Skip to content

Commit d0d8a2a

Browse files
authored
Merge pull request #101 from martinRenou/pin_nodejs
Use mamba in the CI
2 parents 6bc96cf + 6694532 commit d0d8a2a

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,32 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ubuntu-latest, macos-latest, windows-latest]
18+
os: [ubuntu-latest, macos-latest]
1919
python-version: [3.6, 3.7, 3.8]
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v1
23+
uses: actions/checkout@v2
2424

2525
- name: Setup conda
26-
uses: s-weigand/setup-conda@v1
26+
uses: goanpeca/setup-miniconda@v1
2727
with:
28-
auto-update-conda: true
29-
update-conda: true
30-
conda-channels: conda-forge
28+
mamba-version: "*"
29+
channels: conda-forge
3130

32-
- name: Conda install dependencies
33-
run: conda install python=${{ matrix.python-version }} pip nodejs ipywidgets jupyter jupyterlab pillow flake8
31+
- name: Mamba install dependencies
32+
shell: bash -l {0}
33+
run: mamba install python=${{ matrix.python-version }} pip nodejs ipywidgets jupyter jupyterlab pillow numpy flake8
3434

3535
- name: Install ipycanvas
36+
shell: bash -l {0}
3637
run: pip install -e .
3738

3839
- name: Install labextension (Only on Ubuntu for build speed)
3940
if: matrix.os == 'ubuntu-latest'
41+
shell: bash -l {0}
4042
run: jupyter labextension install .
4143

4244
- name: Test flake8
45+
shell: bash -l {0}
4346
run: flake8 ipycanvas --ignore=E501

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
[![Documentation](http://readthedocs.org/projects/ipycanvas/badge/?version=latest)](https://ipycanvas.readthedocs.io/en/latest/?badge=latest)
66
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/martinRenou/ipycanvas/stable?filepath=examples)
7-
[![Build Status](https://travis-ci.org/martinRenou/ipycanvas.svg?branch=master)](https://travis-ci.org/martinRenou/ipycanvas)
87
[![Downloads](https://pepy.tech/badge/ipycanvas)](https://pepy.tech/project/ipycanvas)
98

109
ipycanvas is a lightweight, fast and stable library exposing the [browser's Canvas API](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) to IPython.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"build:labextension": "npm run clean:labextension && mkdirp ipycanvas/labextension && cd ipycanvas/labextension && npm pack ../..",
3535
"build:lib": "tsc",
3636
"build:nbextension": "webpack -p",
37-
"build:all": "npm run build:labextension && npm run build:nbextension",
37+
"build:all": "npm run build:lib && npm run build:labextension && npm run build:nbextension",
3838
"clean": "npm run clean:lib && npm run clean:nbextension",
3939
"clean:lib": "rimraf lib",
4040
"clean:labextension": "rimraf ipycanvas/labextension",

0 commit comments

Comments
 (0)