Added scipy pin in setup.py #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ⚙️ Test pumapy | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] # macos-latest, windows-latest, | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install libgl1 -y | |
conda create -y --name puma -c conda-forge puma gcc pytest scipy=1.11 | |
conda init bash | |
source ~/.bashrc | |
conda activate puma | |
python -m pip install --upgrade pip | |
python -m pip install -e . | |
python -c "import pumapy" | |
- name: Test with pytest | |
working-directory: ./python/test | |
run: | | |
conda init bash | |
source ~/.bashrc | |
conda activate puma | |
pytest |