Skip to content

Commit

Permalink
windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed May 4, 2020
1 parent 66c4056 commit 045d5f6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
6 changes: 4 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
- macos: py36
name: py36_test

- windows: py37
name: py37_test
- windows: conda
name: win_conda

- linux: py37
name: py37_test
Expand All @@ -63,6 +63,8 @@ jobs:
# Only Upload to PyPI on tags
${{ if startsWith(variables['Build.SourceBranch'], 'refs/tags/') }}:
pypi_connection_name : 'PyPI'
libraries:
- libfftw3-dev
test_extras: 'test'
test_command: 'pytest -p no:warnings --doctest-rst -m "not figure" --pyargs pyflct'
submodules: false
Expand Down
18 changes: 18 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ envlist =
py{36,37,38}
build_docs
codestyle
conda
isolated_build = true
requires =
setuptools >= 30.3.0
Expand Down Expand Up @@ -52,3 +53,20 @@ deps =
commands =
pre-commit install
pre-commit run --all-files

# This env requires tox-conda.
[testenv:conda]
description = Use anaconda to test the package.
pypi_filter =
basepython = python3.8
extras =
deps =
cython
numpy
pytest-cov
pytest-astropy
conda_deps =
fftw
conda_channels = conda-forge
commands =
pytest --pyargs pyflct {toxinidir}/docs --cov pyflct --cov-config={toxinidir}/setup.cfg {posargs}

0 comments on commit 045d5f6

Please sign in to comment.