summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-10-18 16:14:12 +0200
committerDavid Lönnhager <david.l@mullvad.net>2024-10-21 09:08:20 +0200
commitc32e72ab7ce0940f36060b79891471ad32dfd703 (patch)
treeb6ab197e420d4ea21424e7f0ddd813a11e665877 /test
parente71e1450b8c891ff23c1120ace2c13ddd5c77342 (diff)
downloadmullvadvpn-c32e72ab7ce0940f36060b79891471ad32dfd703.tar.xz
mullvadvpn-c32e72ab7ce0940f36060b79891471ad32dfd703.zip
Update Rust before running end-to-end tests
Diffstat (limited to 'test')
-rwxr-xr-xtest/scripts/ci-runtests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/scripts/ci-runtests.sh b/test/scripts/ci-runtests.sh
index 4aeab28271..88a8944164 100755
--- a/test/scripts/ci-runtests.sh
+++ b/test/scripts/ci-runtests.sh
@@ -13,6 +13,12 @@ fi
TEST_OS=$1
+if [[ "$(uname -s)" == "Darwin" ]]; then
+ # NOTE: We only do this on macOS since we use containers otherwise
+ echo "Updating Rust toolchain"
+ rustup update
+fi
+
# shellcheck source=test/scripts/test-utils.sh
source "test-utils.sh"