Skip to content

Commit 2275ee0

Browse files
authored
Add new test format
1 parent 0c28f90 commit 2275ee0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/maintainer/conda_forge_yml.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Top-level fields
4545
* :ref:`skip_render`
4646
* :ref:`templates`
4747
* :ref:`test_on_native_only`
48+
* :ref:`test`
4849
* :ref:`travis`
4950
* :ref:`upload_on_branch`
5051
* :ref:`win`
@@ -431,6 +432,26 @@ This is used for disabling testing for cross compiling. Default is ``false``
431432
432433
test_on_native_only: True
433434
435+
.. note::
436+
437+
This has been deprecated in favor of the :ref:`test` top-level field. It is now mapped to ``test: native_and_emulated``.
438+
439+
.. _test:
440+
441+
test
442+
-------------------
443+
This is used to configure on which platforms a recipe is tested. Default is ``all``.
444+
445+
.. code-block:: yaml
446+
447+
test: native_and_emulated
448+
Will do testing only if the platform is native or if there is an emulator.
449+
450+
.. code-block:: yaml
451+
452+
test: native
453+
Will do testing only if the platform is native.
454+
434455
.. _travis:
435456

436457
travis

0 commit comments

Comments
 (0)