Skip to content

Commit

Permalink
MAINT: Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bashtage committed May 18, 2022
1 parent 6185be8 commit 1f76865
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ freebsd_instance:

task:
install_script: . ./ci/cirrus-install.sh
script: python3.9 -m pytest randomgen/tests
script: echo $PWD && python -c "import randomgen; randomgen.test()"

13 changes: 6 additions & 7 deletions ci/cirrus-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@

pkg install -y python39 py39-numpy py39-cython wget git
python3.9 -m ensurepip --upgrade
# wget https://bootstrap.pypa.io/get-pip.py
# python get-pip.py
python3.9 -m pip install pytest wheel
python3.9 -m pip wheel . -w wheelhouse/ --no-build-isolation
ls -t wheelhouse/*
WHL=$(ls -t wheelhouse/randomgen-*.whl | head -n1)
python3.9 -m pip install install ${WHL}
python3.9 -m pip install wheel setuptools_scm[toml] pytest
python3.9 -m pip list
python3.9 -m pip install -e . --no-build-isolation
mkdir test-dir
pushd test-dir
echo $PWD

0 comments on commit 1f76865

Please sign in to comment.