Skip to content

Commit

Permalink
new build process
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBok committed Feb 28, 2024
1 parent 84e2b00 commit 7ce5c6c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/test-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
- name: Test Package Installation
run: |
pip install --upgrade pip
pip${{ matrix.python-version }} install --upgrade pip
# finds path to the right wheel or source file to install later
if [[ "${{ matrix.ext }}" == "whl" ]]; then
Expand All @@ -178,19 +178,20 @@ jobs:
filename="copulae-*${version}*${os}*.whl"
else
# Following packages are needed to install copulae from source
python -m pip install --user numpy wheel cython scipy
pip${{ matrix.python-version }} install numpy wheel cython scipy
filename="copulae-*.tar.gz"
fi;
echo "Looking for file ${filename}"
file=$(find dist -name "${filename}" -type f);
pip list
echo "Running python -m pip install --user ${file}"
python -m pip install --user ${file}
pip${{ matrix.python-version }} list
python${{ matrix.python-version }} -m pip show numpy
echo "Running pip${{ matrix.python-version }} install --user ${file}"
pip${{ matrix.python-version }} install ${file}
# if we can import this, all should be gucci
python -c "import copulae"
python${{ matrix.python-version }} -c "import copulae"
deploy:
name: deploy packages
Expand Down

0 comments on commit 7ce5c6c

Please sign in to comment.