-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '7a076faa23dc929e14d8894f2107dc34782b5443' into develop
* 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
Showing
2 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
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
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 |
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