Skip to content

Commit

Permalink
use separate git cache for this one
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Nov 24, 2024
1 parent 16260bf commit b7f59ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
run: >
pytest
--cov=conda_build
-n auto
-n ${{ env.PYTEST_MARKER == 'serial' && 1 || 'auto' }}
-m "${{ env.PYTEST_MARKER }}"
- name: Upload Coverage
Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
pytest
--cov=conda_build
--basetemp=${{ runner.temp }}
-n auto
-n ${{ env.PYTEST_MARKER == 'serial' && 1 || 'auto' }}
-m "${{ env.PYTEST_MARKER }}"
- name: Upload Coverage
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
run: >
pytest
--cov=conda_build
-n auto
-n ${{ env.PYTEST_MARKER == 'serial' && 1 || 'auto' }}
-m "${{ env.PYTEST_MARKER }}"
env:
CONDA_BUILD_SYSROOT: ${{ env.MACOSX_SDK_ROOT }}
Expand Down
4 changes: 4 additions & 0 deletions tests/test_api_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,17 @@ def test_recipe_builds(
testing_config,
monkeypatch: pytest.MonkeyPatch,
conda_build_test_recipe_envvar: str,
tmp_path_factory: pytest.TempPathFactory,
):
# TODO: After we fix #3754 this mark can be removed. This specific test
# ``source_setup_py_data_subdir`` reproduces the problem.
if recipe.name == "source_setup_py_data_subdir":
pytest.xfail("Issue related to #3754 on conda-build.")
elif recipe.name == "unicode_all_over" and context.solver == "libmamba":
pytest.xfail("Unicode package names not supported in libmamba.")
elif recipe.name == "source_url":
# Several recipes are cloning conda-build, which causes problems with checkouts
testing_config.git_cache = tmp_path_factory.mktemp("git_cache", numbered=False)

# These variables are defined solely for testing purposes,
# so they can be checked within build scripts
Expand Down

0 comments on commit b7f59ef

Please sign in to comment.