Skip to content

Commit

Permalink
push develop -> test -> push main
Browse files Browse the repository at this point in the history
  • Loading branch information
anaegel authored Jun 14, 2024
1 parent d6a2f7f commit 4a6f2a0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/push_event_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Push Event Workflow

on: push
branches:
- develop

jobs:
unit-testing:
Expand All @@ -15,3 +17,12 @@ jobs:

- name : Run tests
run : python -m unittest tests/integration/test-solvers.py

- 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

0 comments on commit 4a6f2a0

Please sign in to comment.