Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
yt-project
GitHub Repository: yt-project/yt
Path: blob/main/tests/ci_install.sh
1400 views
1
set -x # Show which command is being run
2
3
# Step 1: pre-install required packages
4
if [[ ${sync_args} == *"full"* || ${sync_args} == *"mapping"* ]]; then
5
case ${RUNNER_OS} in
6
linux|Linux)
7
sudo apt-get -qqy update
8
sudo apt-get -qqy install libfuse2
9
;;
10
osx|macOS)
11
sudo mkdir -p /usr/local/man
12
sudo chown -R "${USER}:admin" /usr/local/man
13
HOMEBREW_NO_AUTO_UPDATE=1 brew install macfuse
14
;;
15
esac
16
fi
17
18
# Step 2: install deps and yt
19
# installing in editable mode so this script may be used locally by developers
20
# but the primary intention is to embed this script in CI jobs
21
uv sync --extra=test ${sync_args}
22
23
# Disable excessive output
24
uv run --no-sync yt config set --local yt log_level 50
25
cat yt.toml
26
27
set +x
28
29