Skip to content

Make the lib compatible with python >= 3.11 #130

Make the lib compatible with python >= 3.11

Make the lib compatible with python >= 3.11 #130

Workflow file for this run

name: Build and install the package
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
sudo apt-get update && sudo apt-get install libboost-math-dev libnlopt-cxx-dev python3.8-dev
- name: Build baggianalysis and install it through pip
run: pip install .
- name: Check import from the command line
run: |
mkdir test-folder && pushd test-folder
python -c 'import baggianalysis'
popd