-
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 pull request #81 from rzyu45/To-extend-matrix-calculus-to
Refactor code printer and Jac derivation
- Loading branch information
Showing
51 changed files
with
2,738 additions
and
1,920 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Run tests in cookbook | ||
|
||
on: [push] | ||
|
||
jobs: | ||
tests_in_cookbook: | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout Test Repository | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: 'rzyu45/Solverz-Cookbook' | ||
ref: 'main' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' # caching pip dependencies | ||
|
||
- name: Install Main Repository as Dependency using Git URL | ||
run: | | ||
pip install --upgrade pip setuptools wheel | ||
pip install git+https://github.com/${{github.repository}}.git@${{ github.sha }} | ||
- name: Run Tests | ||
run: | | ||
pytest |
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
12 changes: 3 additions & 9 deletions
12
.github/workflows/python-package.yml → .github/workflows/run-tests.yml
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
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from Solverz.code_printer.python.inline.inline_printer import made_numerical | ||
from Solverz.code_printer.make_module import module_printer |
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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.