Update README.md #15
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: PyGSL from PyPI | |
on: [push, pull_request] | |
jobs: | |
pypi: | |
# Build and test only, use pre-generated SWIG wrappers, install from PyPI | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
# Checkout the repository contents | |
- name: Checkout PyGSL code | |
uses: actions/checkout@v3 | |
# Setup Python version | |
- name: Setup Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
# Install dependencies | |
- name: Install apt dependencies | |
run: | | |
sudo apt update | |
sudo apt install libgsl0-dev libncurses5-dev libreadline6-dev pkg-config swig | |
sudo apt install python3-all-dev python3-matplotlib python3-numpy python3-scipy | |
# Install Python dependencies | |
- name: Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pytest numpy scipy matplotlib | |
python -m pip install pycodestyle | |
python -m pip install wheel setuptools --upgrade | |
- name: install | |
run: | | |
python -m pip install pygsl |