Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.x] Fix tests #3347

Merged
merged 17 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
shell: bash -l {0}
run: |
pybind11-stubgen libmambapy.bindings
pre-commit run --files stubs/libmambapy/binginds-stubs/__init__.pyi
pre-commit run --files stubs/libmambapy/bindings-stubs/__init__.pyi
python compare_stubs.py libmambapy/libmambapy/__init__.pyi stubs/libmambapy/bindings-stubs/__init__.pyi
- name: Show build cache statistics
run: sccache --show-stats
Expand Down Expand Up @@ -140,10 +140,22 @@ jobs:
mkdir -p $CONDA_PREFIX/conda-bld/linux-64
wget -P $CONDA_PREFIX/conda-bld/linux-64 https://anaconda.org/conda-forge/xtensor/0.21.8/download/linux-64/xtensor-0.21.8-hc9558a2_0.tar.bz2
wget -P $CONDA_PREFIX/conda-bld/linux-64 https://anaconda.org/conda-forge/xtl/0.6.21/download/linux-64/xtl-0.6.21-h0efe328_0.tar.bz2
elif [ "$RUNNER_OS" == "macOS" ]; then
if [ "$(uname -m)" == "x86_64" ]; then
mkdir -p $CONDA_PREFIX/conda-bld/osx-64
wget -P $CONDA_PREFIX/conda-bld/osx-64 https://anaconda.org/conda-forge/xtensor/0.21.8/download/osx-64/xtensor-0.21.8-h879752b_0.tar.bz2
wget -P $CONDA_PREFIX/conda-bld/osx-64 https://anaconda.org/conda-forge/xtl/0.6.21/download/osx-64/xtl-0.6.21-h6516342_0.tar.bz2
elif [ "$(uname -m)" == "arm64" ]; then
mkdir -p $CONDA_PREFIX/conda-bld/osx-arm64
wget -P $CONDA_PREFIX/conda-bld/osx-arm64 https://anaconda.org/conda-forge/xtensor/0.21.10/download/osx-arm64/xtensor-0.21.10-h260d524_0.tar.bz2
wget -P $CONDA_PREFIX/conda-bld/osx-arm64 https://anaconda.org/conda-forge/xtl/0.6.23/download/osx-arm64/xtl-0.6.23-h260d524_1.tar.bz2
else
echo "Unsupported architecture: $(uname -m)"
exit 1
fi
else
mkdir -p $CONDA_PREFIX/conda-bld/osx-64
wget -P $CONDA_PREFIX/conda-bld/osx-64 https://anaconda.org/conda-forge/xtensor/0.21.8/download/osx-64/xtensor-0.21.8-h879752b_0.tar.bz2
wget -P $CONDA_PREFIX/conda-bld/osx-64 https://anaconda.org/conda-forge/xtl/0.6.21/download/osx-64/xtl-0.6.21-h6516342_0.tar.bz2
echo "Unsupported OS: $RUNNER_OS"
exit 1
fi
conda index $CONDA_PREFIX/conda-bld
mamba create -n l_o_cal_test local::xtensor -c conda-forge -y
Expand Down
2 changes: 1 addition & 1 deletion libmamba/environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies:
- yaml-cpp >=0.8.0
- cli11 >=2.2
- spdlog
- fmt
- fmt < 11 # TODO remove constraint when backporting the fix for fmt last release (from mamba main branch)
- sel(win): winreg
Loading
Loading