Distinguish test folders in CI workflow #459
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NumPy Array API | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11"] | |
steps: | |
- name: Checkout array-api-tests | |
uses: actions/checkout@v1 | |
with: | |
submodules: 'true' | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install array-api-strict | |
python -m pip install -r requirements.txt | |
- name: Run the test suite | |
env: | |
ARRAY_API_TESTS_MODULE: array_api_strict | |
run: | | |
pytest -v -rxXfE --skips-file numpy-skips.txt array_api_tests/ | |
# We also have internal tests that isn't really necessary for adopters | |
pytest -v -rxXfE meta_tests/ |