Skip to content

Update push_event_workflow.yml #33

Update push_event_workflow.yml

Update push_event_workflow.yml #33

name: Push Event Workflow
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@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
ls
cd $HOME
ls
- name: Push to main
if: success()
run: |
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