Skip to content

Add MultipoleExpansionPotential for multipole expansion of arbitrary densities #157

Add MultipoleExpansionPotential for multipole expansion of arbitrary densities

Add MultipoleExpansionPotential for multipole expansion of arbitrary densities #157

name: "Copilot Setup Steps"
# Automatically run the setup steps when they are changed to allow for easy validation, and
# allow manual testing through the repository's "Actions" tab
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
- .github/workflows/build.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
- .github/workflows/build.yml
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps:
runs-on: ubuntu-latest
# Set the permissions to the lowest permissions possible needed for your steps.
# Copilot will be given its own token for its operations.
permissions:
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
contents: read
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install the GSL
run: |
sudo apt-get install libgsl-dev
- name: Install Python dependencies
run: |
pip install --upgrade --upgrade-strategy eager numpy scipy matplotlib numexpr setuptools cython pytest tqdm h5py pandas pytz wheel pynbody astropy pyerfa astroquery numba jax jaxlib
- name: Install precommit
run: pip install pre-commit