Skip to content

Commit

Permalink
Enabling Appveyor pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 11, 2019
1 parent faec5be commit 8484383
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,26 @@ install:

# Install dependencies
- activate test-environment
- conda install -c conda-forge pyside
- conda install -c conda-forge pyinstaller
- conda install -q -c conda-forge pyside pyinstaller pytest-cov

# Add to path the current folder
- "SET PYTHONPATH=%PYTHONPATH%;%CD%"

# Install SHARPpy
- "python setup.py install"

# Make binaries using PyInstaller
- "pyinstaller runsharp/SHARPpy-win7-%ARCH%.spec"
- "move dist\\SHARPpy.exe dist\\SHARPpy%ARCH%.exe"
- "pip install -e ."

build: off

# Turning off Test Script for now
#test_script:
test_script:
- pytest --cov -v
# - "python sharppy/tests/test_url.py https://www.spc.noaa.gov/exper/soundings/18112100_OBS/OUN.txt"

after_test:
# Make binaries using PyInstaller
- "pyinstaller runsharp/SHARPpy-win7-%ARCH%.spec"
- "move dist\\SHARPpy.exe dist\\SHARPpy%ARCH%.exe"

artifacts:
path: "dist\\SHARPpy64.exe"
name: "SHARPpy64"
Expand Down

0 comments on commit 8484383

Please sign in to comment.