Update appveyor.yml and noxfile.py

This commit is contained in:
Daniel S. 2020-03-28 15:43:36 +01:00
parent 1de3bc797f
commit ce648db852
2 changed files with 4 additions and 7 deletions

View file

@ -4,7 +4,7 @@ branches:
only:
- pyqt_gui
- WIP
build: off
environment:
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat
VCVARSARG: x64
@ -28,8 +28,5 @@ install:
test_script:
- cmd: nox -s test-%PY_VERSION%
build_script:
- cmd: nox -s build-%PY_VERSION%
- ps: Get-ChildItem .\installer\Output\*.exe | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- ps: Get-ChildItem .\dist\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name.Insert($_.Name.Length,".zip") }
- ps: Get-ChildItem .\dist\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name.Insert($_.Name.Length,".zip") }

View file

@ -57,8 +57,8 @@ def test(session):
session.install("--no-cache-dir", "setuptools_rust")
session.install("--no-cache-dir", ".[all]")
session.run("py.test", "-v", *(session.posargs or []))
# if session.python:
# session.notify(f"build-{session.python}")
if session.python:
session.notify(f"build-{session.python}")
@nox.session(python=versions, venv_backend="conda")