Skip to content

Add particle species in Beam classes and update tracking methods #1493

Add particle species in Beam classes and update tracking methods

Add particle species in Beam classes and update tracking methods #1493

Workflow file for this run

name: pytest
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
include:
- os: macos-latest
python-version: "3.13"
- os: windows-latest
python-version: "3.13"
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
miniforge-version: "latest"
- name: Install Bmad and PyTao
run: |
if [[ ! ${{ runner.os }} == 'Windows' ]]; then
conda install bmad pytao
fi
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[openpmd]
pip install -r test_requirements.txt
- name: Test with pytest
run: |
pytest