adding python api example for weight window generation #506
Workflow file for this run
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 lauch 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 | |
push: | |
branches: | |
- develop | |
- main | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/fusion-energy/neutronics-workshop:base | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: test task 1 | |
run: | | |
pytest tests/test_task_1.py -v | |
- name: test task 2 | |
run: | | |
pytest tests/test_task_2.py -v | |
- name: test task 3 | |
run: | | |
pytest tests/test_task_3.py -v | |
- name: test task 4 | |
run: | | |
pytest tests/test_task_4.py -v | |
- name: test task 5 | |
run: | | |
pytest tests/test_task_5.py -v | |
- name: test task 6 | |
run: | | |
pytest tests/test_task_6.py -v | |
- name: test task 7 | |
run: | | |
pytest tests/test_task_7.py -v | |
- name: test task 8 | |
run: | | |
pytest tests/test_task_8.py -v | |
- name: test task 9 | |
run: | | |
pytest tests/test_task_9.py -v | |
- name: test task 10 | |
run: | | |
pytest tests/test_task_10.py -v | |
- name: test task 11 | |
run: | | |
pytest tests/test_task_11.py -v | |
- name: test task 12 | |
run: | | |
pytest tests/test_task_12.py -v | |
- name: test task 13 | |
run: | | |
pytest tests/test_task_13.py -v | |
- name: test task 14 | |
run: | | |
pytest tests/test_task_14.py -v | |
# TODO add task 15 and 16 | |
- name: test task 17 | |
run: | | |
pytest tests/test_task_14.py -v | |
- name: test task 18 | |
run: | | |
pytest tests/test_task_14.py -v |