forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathposix.yml
68 lines (61 loc) · 1.94 KB
/
posix.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
parameters:
name: ''
vmImage: ''
jobs:
- job: ${{ parameters.name }}
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
py38_macos_1:
ENV_FILE: ci/deps/azure-macos-38.yaml
CONDA_PY: "38"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[a-h]*"
py38_macos_2:
ENV_FILE: ci/deps/azure-macos-38.yaml
CONDA_PY: "38"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[i-z]*"
py39_macos_1:
ENV_FILE: ci/deps/azure-macos-39.yaml
CONDA_PY: "39"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[a-h]*"
py39_macos_2:
ENV_FILE: ci/deps/azure-macos-39.yaml
CONDA_PY: "39"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[i-z]*"
py310_macos_1:
ENV_FILE: ci/deps/azure-macos-310.yaml
CONDA_PY: "310"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[a-h]*"
py310_macos_2:
ENV_FILE: ci/deps/azure-macos-310.yaml
CONDA_PY: "310"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[i-z]*"
steps:
- script: echo '##vso[task.prependpath]$(HOME)/miniconda3/bin'
displayName: 'Set conda path'
- script: ci/setup_env.sh
displayName: 'Setup environment and build pandas'
- script: |
source activate pandas-dev
ci/run_tests.sh
displayName: 'Test'
- script: source activate pandas-dev && pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
displayName: 'Build versions'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
failTaskOnFailedTests: true
testResultsFiles: 'test-data.xml'
testRunTitle: ${{ format('{0}-$(CONDA_PY)', parameters.name) }}
displayName: 'Publish test results'
- script: |
source activate pandas-dev
python ci/print_skipped.py
displayName: 'Print skipped tests'