-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds unit tests for the partial save feature for bump recipe. Warning…
…: the new test takes an incredibly long time due to the issue tracked by #265
- Loading branch information
1 parent
a529602
commit 66674de
Showing
3 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
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
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
51 changes: 51 additions & 0 deletions
51
tests/test_aux_files/bump_recipe/types-toml_bad_url_partial_save.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{% set name = "types-toml" %} | ||
{% set version = "0.10.8.20240310" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://fake.website.total.bullshit/artifact.tar.gz | ||
sha256: 6d3ac79e36c9ee593c5d4fb33a50cca0e3adceb6ef5cff8b8e5aef67b4c4aaf2 | ||
|
||
build: | ||
number: 0 | ||
skip: true # [py<37] | ||
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation | ||
|
||
requirements: | ||
host: | ||
- setuptools | ||
- wheel | ||
- pip | ||
- python | ||
run: | ||
- python | ||
|
||
test: | ||
imports: | ||
- types | ||
requires: | ||
- pip | ||
commands: | ||
- pip check | ||
- test -f $SP_DIR/toml-stubs/__init__.pyi # [unix] | ||
|
||
about: | ||
home: https://github.com/python/typeshed | ||
summary: Typing stubs for toml | ||
description: | | ||
This is a PEP 561 type stub package for the toml package. | ||
It can be used by type-checking tools like mypy, pyright, | ||
pytype, PyCharm, etc. to check code that uses toml. | ||
license: Apache-2.0 AND MIT | ||
license_file: LICENSE | ||
license_family: OTHER | ||
dev_url: https://github.com/python/typeshed | ||
doc_url: https://pypi.org/project/types-toml/ | ||
|
||
extra: | ||
recipe-maintainers: | ||
- fhoehle | ||
- conda-forge/mypy |