diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e2fdd3e..16de8ade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [dev] - YYYY-MM-DD + +### Changed +* Conda recipes now run the whole test suite with `pytest --pyargs mkl_umath` instead of only `test_basic.py`, and the unused `run_tests.{sh,bat}` scripts were removed [gh-283](https://github.com/IntelPython/mkl_umath/pull/283) + ## [0.6.0] - 2026-10-15 ### Added diff --git a/conda-recipe-cf/AGENTS.md b/conda-recipe-cf/AGENTS.md index cea38d84..dcc7eef5 100644 --- a/conda-recipe-cf/AGENTS.md +++ b/conda-recipe-cf/AGENTS.md @@ -8,9 +8,8 @@ Conda-forge compatible build recipe (alternative to Intel channel recipe). - For conda-forge feedstock integration (if upstreamed) ## Files -- **meta.yaml** — conda-forge compatible metadata +- **meta.yaml** — conda-forge compatible metadata, test commands (`pytest --pyargs mkl_umath`) - **build.sh** / **bld.bat** — platform build scripts -- **run_tests.{sh,bat}** — test invocation ## Status - Not currently used in main CI workflows diff --git a/conda-recipe-cf/meta.yaml b/conda-recipe-cf/meta.yaml index 115a357d..583cbcd5 100644 --- a/conda-recipe-cf/meta.yaml +++ b/conda-recipe-cf/meta.yaml @@ -42,11 +42,9 @@ test: requires: - pip - pytest - source_files: - - mkl_umath/tests/test_basic.py commands: - pip check - - pytest mkl_umath/tests/test_basic.py + - pytest --pyargs mkl_umath imports: - mkl_umath - mkl_umath._ufuncs diff --git a/conda-recipe-cf/run_tests.bat b/conda-recipe-cf/run_tests.bat deleted file mode 100644 index 42b23a9e..00000000 --- a/conda-recipe-cf/run_tests.bat +++ /dev/null @@ -1 +0,0 @@ -%PYTHON% tests\test_basic.py diff --git a/conda-recipe-cf/run_tests.sh b/conda-recipe-cf/run_tests.sh deleted file mode 100644 index 219a5595..00000000 --- a/conda-recipe-cf/run_tests.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -$PYTHON tests/test_basic.py diff --git a/conda-recipe/AGENTS.md b/conda-recipe/AGENTS.md index c5bd2f93..e378ac6d 100644 --- a/conda-recipe/AGENTS.md +++ b/conda-recipe/AGENTS.md @@ -3,11 +3,10 @@ Conda package build recipe for Intel channel distribution. ## Files -- **meta.yaml** — package metadata, dependencies, build requirements +- **meta.yaml** — package metadata, dependencies, build requirements, test commands (`pytest --pyargs mkl_umath`) - **build.sh** — Linux build script - **bld.bat** — Windows build script - **conda_build_config.yaml** — build matrix (Python versions, numpy pins) -- **run_tests.{sh,bat}** — post-build test invocation ## Build configuration - **Channels:** `https://software.repos.intel.com/python/conda`, `conda-forge` diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 44932c77..c2740829 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -44,10 +44,8 @@ requirements: test: requires: - pytest - source_files: - - mkl_umath/tests/test_basic.py commands: - - pytest mkl_umath/tests/test_basic.py + - pytest --pyargs mkl_umath imports: - mkl_umath - mkl_umath._ufuncs diff --git a/conda-recipe/run_tests.bat b/conda-recipe/run_tests.bat deleted file mode 100644 index 42b23a9e..00000000 --- a/conda-recipe/run_tests.bat +++ /dev/null @@ -1 +0,0 @@ -%PYTHON% tests\test_basic.py diff --git a/conda-recipe/run_tests.sh b/conda-recipe/run_tests.sh deleted file mode 100644 index 219a5595..00000000 --- a/conda-recipe/run_tests.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -$PYTHON tests/test_basic.py