Skip to content

Implements Friends of Friends Sampling function #188

Implements Friends of Friends Sampling function

Implements Friends of Friends Sampling function #188

Workflow file for this run

name: pytest
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout github repo
uses: actions/checkout@v2
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
# galsim needs this.
- name: Install FFTW
run: |
sudo apt-get install libfftw3-dev
- name: Install poetry dependencies
run: |
poetry install --with scarlet
- name: Install Scarlet
run: |
poetry run pip install "pybind11[global]" peigen
poetry run pip install git+https://github.com/pmelchior/scarlet.git
- name: Run Tests
run: |
poetry run pytest --cov=./btk --cov-report=xml --durations=0
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: true