Skip to content

Commit 4de636c

Browse files
committed
Fix missing test env section.
1 parent b0a6e14 commit 4de636c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

actions/generate_recipe.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,10 @@ def generate_recipe(data, features, git_remote, git_branch, git_version, git_num
375375

376376
# Script test (pytest)
377377
lines.append(" - script:")
378+
lines.append(" - if: win")
379+
lines.append(" then: set PYTHONUTF8=1")
380+
lines.append(" else: export PYTHONUTF8=1")
378381
lines.append(" - pytest -vvv --color=yes --runveryslow ./tests")
379-
lines.append(" env:")
380-
lines.append(" PYTHONUTF8: '1'")
381382
lines.append(" files:")
382383
lines.append(" source:")
383384
lines.append(" - tests/")

0 commit comments

Comments
 (0)