data-apis / array-api-tests

Test suite for the PyData Array APIs standard
https://data-apis.org/array-api-tests/
MIT License
64 stars 41 forks source link

MAINT: Add `pytest.ini` file #217

Closed mtsokol closed 11 months ago

mtsokol commented 11 months ago

Hi!

A small change: Due to the fact that here's no pytest.ini, a wrong rootdir gets picked in the downstream libs CI. E.g. in https://github.com/mtsokol/numpy/actions/runs/6982999059/job/19003296323?pr=4, there's rootdir: /home/runner/work/numpy/numpy instead of ${GITHUB_WORKSPACE}/array-api-tests.

Also discussed here: https://github.com/pytest-dev/pytest/issues/11636