Skip to content

Merge pull request #56 from PalamaraLab/55-check-version-consistent #58

Merge pull request #56 from PalamaraLab/55-check-version-consistent

Merge pull request #56 from PalamaraLab/55-check-version-consistent #58

Workflow file for this run

name: "Python tests"
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
build-and-test:
name: Python tests
runs-on: ubuntu-22.04
if: ${{ github.event_name == 'pull_request' || github.repository == 'PalamaraLab/arg-needle-lib' }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: checkout repo
uses: actions/checkout@v5
- name: set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: display Python version
run: python --version
- name: install system packages
run: |
sudo apt -y update
sudo apt -y install libboost-dev libboost-math-dev libboost-iostreams-dev libeigen3-dev libhdf5-dev
- name: install python dependencies
run: |
pip install --upgrade pip setuptools wheel
- name: install arg_needle_lib with dev dependencies
run: |
pip install ".[dev]"
- name: run python tests
run: |
pytest test -v -s --ignore=test/test_big_args.py