From 7176c032cf028cd42c5f7bc33e190ada983fbf08 Mon Sep 17 00:00:00 2001 From: Kevin Sheppard Date: Wed, 18 May 2022 08:57:52 +0100 Subject: [PATCH] MAINT: Update CI --- .cirrus.yml | 3 ++- ci/cirrus-install.sh | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index bcd60d9a7..587d81b5f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -3,5 +3,6 @@ freebsd_instance: task: install_script: . ./ci/cirrus-install.sh - script: echo $PWD && python -c "import randomgen; randomgen.test()" + script: mkdir test_dir && cd test_dir && echo $PWD && python -c "import randomgen; randomgen.test()" + diff --git a/ci/cirrus-install.sh b/ci/cirrus-install.sh index f3e7822bb..95a454149 100644 --- a/ci/cirrus-install.sh +++ b/ci/cirrus-install.sh @@ -5,7 +5,5 @@ pkg install -y python39 py39-numpy py39-cython wget git python3.9 -m ensurepip --upgrade python3.9 -m pip install wheel setuptools_scm[toml] pytest python3.9 -m pip list +git fetch --tags python3.9 -m pip install -e . --no-build-isolation -mkdir test-dir -pushd test-dir -echo $PWD