-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/LiamSwayne/Carbon-Neutral-B…
…uilding into main
- Loading branch information
Showing
1 changed file
with
7 additions
and
10 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 |
---|---|---|
|
@@ -23,17 +23,14 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
- name: Install Python packages | ||
run: pip install cvxpy | ||
- name: Execute python script first case | ||
run: python build_template_from_source.py 3 4 10 1 | ||
|
||
- name: Execute Python script first case | ||
run: python build_template_from_source.py 3 4 10 | ||
- name: Execute python script second case | ||
run: python build_template_from_source.py 5 2 3 2 | ||
|
||
- name: Execute Python script second case | ||
run: python build_template_from_source.py 5 2 3 | ||
|
||
- name: Execute Python script third case | ||
run: python build_template_from_source.py 1 10 10 | ||
- name: Execute python script third case | ||
run: python build_template_from_source.py 1 10 10 3 | ||
|
||
- name: Check for changes | ||
id: git-check | ||
|
@@ -47,7 +44,7 @@ jobs: | |
- name: Commit changed files | ||
if: steps.git-check.outputs.return-code == '0' | ||
run: | | ||
git commit -m "🤖 auto-update test cases " || echo "No changes to commit" | ||
git commit -m "🤖 run python script" || echo "No changes to commit" | ||
- name: Fetch from main | ||
if: steps.git-check.outputs.return-code == '0' | ||
|