Skip to content

added conda forge installation details to documentation #144

added conda forge installation details to documentation

added conda forge installation details to documentation #144

Workflow file for this run

name: CI testing
on:
pull_request:
branches:
- develop
- main
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- name: Install system packages
run: |
sudo apt-get update -y
sudo apt-get install -y libgl1 libglx-mesa0 libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0
- name: checkout actions
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install .
python -c "import paramak"
- name: Test with pytest
run: |
python -m pip install .[tests]
pytest -v
python examples/plasma.py
python examples/spherical_tokamak_from_plasma_minimal.py
python examples/spherical_tokamak_from_plasma_with_divertor.py
python examples/spherical_tokamak_from_plasma_with_pf_magnets_and_divertors.py
python examples/spherical_tokamak_from_plasma_with_pf_magnets.py
python examples/spherical_tokamak_from_plasma_with_tf_magnets.py
python examples/spherical_tokamak_minimal.py
python examples/tokamak_from_plasma_with_divertor.py
python examples/tokamak_minimal.py
python examples/tokamak_from_plasma_minimal.py