Skip to content
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
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [ '3.5', '3.6', '3.7', '3.8' ]
steps:
- name: Checkout
Expand All @@ -24,6 +24,10 @@ jobs:
- name: Install the Python dependencies
run: |
pip install -e .[test]
- name: ipykernel fix on windows 3.8
if: matrix.os == 'windows-latest' && matrix.python-version == '3.8'
run: |
pip install --upgrade git+https://github.com/ipython/ipykernel.git
- name: Run the tests
run: |
pytest
34 changes: 21 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ matrix:

environment:
matrix:
# - CONDA_PY: 35
# CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64"
# - CONDA_PY: 36
# CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
# - CONDA_PY: 37
# CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64"
- PYTHON: "C:\\Miniconda38-x64"
PYTHON_VERSION: "3.8"
ZIP_VERSION: "cp38"
PYTHON_ARCH: "64"
TARGET: "x86_64-pc-windows-msvc"
- CONDA_PY: 35
CONDA_PY_SPEC: 3.5
CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64"
- CONDA_PY: 36
CONDA_PY_SPEC: 3.6
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
- CONDA_PY: 37
CONDA_PY_SPEC: 3.7
CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64"
- CONDA_PY: 38
CONDA_PY_SPEC: 3.8
# appveyor doesn't come with this directory, so use 37's since we're creating an env anyway
CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64"

platform:
- x64
Expand All @@ -23,11 +25,17 @@ build: off

install:
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: set CONDA_PY=%CONDA_PY%
- cmd: set CONDA_PY_SPEC=%CONDA_PY_SPEC%
- cmd: conda config --set show_channel_urls true
- cmd: conda config --add channels conda-forge
#- cmd: conda update --yes --quiet conda
- cmd: conda install -y pyzmq tornado jupyter_client nbformat nbconvert ipykernel pip nose
- cmd: conda update --yes --quiet conda
- cmd: conda info -a
- cmd: conda create -y -q -n test-env-%CONDA_PY% python=%CONDA_PY_SPEC% pyzmq tornado jupyter_client nbformat nbconvert ipykernel pip nose
- cmd: conda activate test-env-%CONDA_PY%
- cmd: pip install .[test]
# FIXME: Use patch for python 3.8, windows issues (https://github.com/ipython/ipykernel/pull/456) - remove once released
- IF %CONDA_PY% == 38 pip install --upgrade git+https://github.com/ipython/ipykernel.git

test_script:
- pytest