File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 88 with :
99 package-name : numpy
1010 package-version : ' == 1.21.*'
11- pytest-extra-args : ' --xfails-file ${GITHUB_WORKSPACE}/array-api-compat/numpy- 1-21-xfails.txt '
11+ xfails-file-extra : ' -1-21'
Original file line number Diff line number Diff line change 1313 pytest-extra-args :
1414 required : false
1515 type : string
16+ # This is not how I would prefer to implement this but it's the only way
17+ # that seems possible with GitHub Actions' limited expressions syntax
18+ xfails-file-extra :
19+ required : false
20+ type : string
21+ skips-file-extra :
22+ required : false
23+ type : string
24+
1625
1726env :
1827 PYTEST_ARGS : " --max-examples 200 -v -rxXfE --ci ${{ inputs.pytest-extra-args }}"
5766 run : |
5867 export PYTHONPATH="${GITHUB_WORKSPACE}/array-api-compat"
5968 cd ${GITHUB_WORKSPACE}/array-api-tests
60- pytest array_api_tests/ --xfails-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.package-name }}- xfails.txt --skips-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.package-name }}-skips.txt ${PYTEST_ARGS}
69+ pytest array_api_tests/ --xfails-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.package-name }}${{ xfails-file-extra }}- xfails.txt --skips-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.package-name }}${{ inputs.skips-file-extra }}-skips.txt ${PYTEST_ARGS}
You can’t perform that action at this time.
0 commit comments