-
Notifications
You must be signed in to change notification settings - Fork 14
/
.appveyor.yml
37 lines (37 loc) · 1.03 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
image: Visual Studio 2022
environment:
global:
MINICONDA: C:\Miniconda38-x64
matrix:
- PYTHON_VERSION: 3.8
- PYTHON_VERSION: 3.9
- PYTHON_VERSION: 3.10
install:
- "set PATH=%MINICONDA%\\condabin;%PATH%"
- call "%MINICONDA%\\Scripts\\activate.bat"
- conda config --set always_yes yes
- conda config --set channel_priority strict
- conda config --add channels conda-forge
- appveyor-retry conda create --quiet --yes --name ci
"pip"
"pytest"
"pytest-cov"
"python=%PYTHON_VERSION%"
"requests>1.0.0"
"setuptools>=38.2.5"
- conda activate ci
- conda info --all
- conda list
build_script:
- python -m pip install .[test]
test_script:
- python -m pytest
--color yes
--code-highlight yes
--cov gwosc
--junitxml junit.xml
--pyargs gwosc
-ra
--verbose
on_finish:
- ps: (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\junit.xml))