diff --git a/.github/workflows/push_event_workflow.yml b/.github/workflows/push_event_workflow.yml index 2e0dba5..46a9dbf 100644 --- a/.github/workflows/push_event_workflow.yml +++ b/.github/workflows/push_event_workflow.yml @@ -22,10 +22,20 @@ jobs: - name : Run tests run : | - python -m unittest tests/integration/test-solvers.py + python -m unittest discover -s tests/integration ls cd $HOME ls + - name : Upload test artifacts + uses: actions/upload-artifact@v4 + with: + # Name of the artifact to upload. + # Optional. Default is 'artifact' + name: unittest-artifacts + path: test-reports + - uses: test-summary/action@v2 + with: + paths: "test-reports/TEST-*.xml" #- name: Push to main # if: success() diff --git a/README.md b/README.md index dd436c2..a6d7126 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,24 @@ Please start the course [here](index.ipynb). * Installation script in binder/postBuild ## Installation: -´´´ + +1) Install via pip +``` pip install ug4py-base -´´´ +``` -´´´ +2) Clone repo: +``` git clone https://github.com/UG4/py-course-modsim.git -´´´ +``` + +3) Run examples, e.g.,: +``` +cd py-course-modsim/content/tutorial-fem +python tutorial-fem-01.py +``` + + ## Note It is a port of the sibling [Lua course](http://github.com/UG4/modsim-course-lua).