File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 9
9
pytest-extra-args :
10
10
required : false
11
11
type : string
12
-
12
+ xfails-file :
13
+ required : false
14
+ type : string
15
+ default : ' ${{ inputs.package-name }}-xfails.txt'
16
+ skips-file :
17
+ required : false
18
+ type : string
19
+ default : ' ${{ inputs.package-name }}-skips.txt'
13
20
14
21
env :
15
22
PYTEST_ARGS : " --max-examples 200 -v -rxXfE --ci ${{ inputs.pytest-extra-args }}"
54
61
run : |
55
62
export PYTHONPATH="${GITHUB_WORKSPACE}/array-api-compat"
56
63
cd ${GITHUB_WORKSPACE}/array-api-tests
57
- pytest ${PYTEST_ARGS} --xfails-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.package-name }}-xfails.txt --skips-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.package-name }}-skips.txt array_api_tests/
64
+ pytest ${PYTEST_ARGS} --xfails-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.xfails-file }} --skips-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.skips-file }} array_api_tests/
You can’t perform that action at this time.
0 commit comments