Skip to content

Commit

Permalink
Merge commit '7a076faa23dc929e14d8894f2107dc34782b5443' into develop
Browse files Browse the repository at this point in the history
* commit '7a076faa23dc929e14d8894f2107dc34782b5443':
  Update README.md
  Removing auto push
  Update push_event_workflow.yml
  Update push_event_workflow.yml
  Update push_event_workflow.yml
  Update push_event_workflow.yml
  Update push_event_workflow.yml
  push/pull stuff
  Update push_event_workflow.yml
  push develop -> test -> push main
  • Loading branch information
anaegel committed Jun 14, 2024
2 parents a0564e3 + 7a076fa commit 4c95ab2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 7 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/push_event_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,38 @@
name: Push Event Workflow

on: push
on:
push: # push request on 'develop'
branches:
- develop

pull_request: # pull request with target main
branches:
- main

jobs:
unit-testing:
runs-on: ubuntu-latest

steps:
- name : Checkout code
uses : actions/checkout@v2
uses : actions/checkout@v4

- name : Install Packages
run : pip install ug4py-base matplotlib ipython pyvista nbformat trame ipywidgets

- name : Run tests
run : python -m unittest tests/integration/test-solvers.py
run : |
python -m unittest tests/integration/test-solvers.py
ls
cd $HOME
ls
#- name: Push to main
# if: success()
# run: |
# ls
# git config --global user.name 'github-actions[bot]'
# git config --global user.email 'github-actions[bot]@users.noreply.github.com'
# git checkout main
# git merge develop
# git push origin main
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# modsim-course-python
# py-course-modsim
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/UG4/py-course-modsim/HEAD)


This course is a Python-based course for an introduction of UG4. It is a port of the sibling [Lua course](http://github.com/UG4/modsim-course-lua). Both versions support execution using binder.
This course is a Python-based course for an introduction of UG4.

Please start the course [here](index.ipynb).

Expand All @@ -14,4 +13,13 @@ Please start the course [here](index.ipynb).
* Installation script in binder/postBuild

## Installation:
'''pip install ug4py-base'''
´´´
pip install ug4py-base
´´´

´´´
git clone https://github.com/UG4/py-course-modsim.git
´´´

## Note
It is a port of the sibling [Lua course](http://github.com/UG4/modsim-course-lua).

0 comments on commit 4c95ab2

Please sign in to comment.