user selectable colour map in GUI #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This CI will launch a Docker image that contains all the dependencies required | |
# within that image the pytest test suite is run | |
name: CI with install | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
paths-ignore: | |
- 'docs/**' | |
- '.gitignore' | |
- '*.md' | |
- 'CITATION.cff' | |
- 'LICENSE.txt' | |
- 'readthedocs.yml' | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
container: | |
image: openmc/openmc:develop | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: install package | |
run: | | |
pip install --upgrade pip | |
pip install . | |
python -c "import openmc_cylindrical_mesh_plotter" | |
- name: install packages for tests | |
run: | | |
pip install .[tests] | |
- name: Run test_utils | |
run: | | |
pytest tests | |
- name: Run examples | |
run: | | |
cd examples | |
python plot_phir_slice_point_source_combined_multiple_tallies.py | |
python plot_phir_slice_point_source.py | |
python plot_phir_slice_ring_source.py | |
python plot_rz_slice_point_source_combined_multiple_tallies.py | |
python plot_rz_slices_point_source.py | |
python plot_rz_slices_ring_source.py | |
- name: install packages with GUI | |
run: | | |
pip install .[gui] | |