-
Notifications
You must be signed in to change notification settings - Fork 0
Add test workflow #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
galanCA
wants to merge
178
commits into
main
Choose a base branch
from
add-test-workflow
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
178 commits
Select commit
Hold shift + click to select a range
d37daf4
Add workflow.
galanCA 50078f8
Move test.yml.
galanCA 90b8c80
Install Ruby, Python and pip.
galanCA e8c88d3
Fix checkout name.
galanCA 69d3c8d
Fix checkout name v2.
galanCA 8b70b23
Fix Ruby setup.
galanCA 3a6dd2a
Fix Ruby setup v2.
galanCA 41e92ee
Fix Ruby setup v3.
galanCA e6ceee4
Fix Ruby setup v4.
galanCA 7d8adf5
Delete dependencies.
galanCA 4bd1f7e
Fix openpyxl setup.
galanCA 469f41a
Fix openpyxl setup v2.
galanCA 85d9ec1
Fix openpyxl setup v3.
galanCA 9c91297
Download modelkit.
galanCA afc3a6b
Install Ruby.
galanCA 900883c
Install modelkit setup.
galanCA adff8f9
Install modelkit setup v2.
galanCA 85c56ad
Install modelkit setup v3.
galanCA 0e5742a
Install modelkit setup v4.
galanCA 7c0ebe0
Install modelkit setup v5.
galanCA b34e33f
Install modelkit setup v6.
galanCA fb736a6
Install modelkit setup v7.
galanCA 901bac2
Install modelkit setup v8.
galanCA e8902a1
Install modelkit setup v9.
galanCA 36b2cb2
Install modelkit setup v10.
galanCA 4074ac6
Install modelkit setup v11.
galanCA 503cc40
Setup python anaconda.
galanCA cf33235
Setup openpyxl.
galanCA 3402445
Test downloading modelkit.
galanCA 145124c
test curl
galanCA f81be57
Test curl v2.
galanCA afa42bc
Execute modelkit.exe
galanCA 59557d7
Execute modelkit v2.
galanCA f646e7d
Execute modelkit.
galanCA e6346ba
Update modelkit link.
galanCA 8585f61
Test modelkit-installer V1.
galanCA 097960e
Test modelkit-installer V2.
galanCA 80cbfa6
Test modelkit-installer V3.
galanCA 7188fd5
Test modelkit-installer V3.
galanCA f8fc2bd
Check path.
galanCA d6f7f2d
Disable startup prompt.
galanCA 506d40d
Change directory installer.
galanCA 6e63478
Add a modelkit folder
galanCA 02c2706
Check bin folder
galanCA 5beb3f6
Run modelkit.bat.
galanCA 30dfe2b
Move modelkit.bat
galanCA 2a76a83
Move modelkit.bat V2.
galanCA 2ea019f
Fix path.
galanCA bb6797c
check help.
galanCA da10f80
Test modelkit.
galanCA b8273c4
Test calling modelkit.bat
galanCA fe3f75d
Test adding template-compose.
galanCA abe9e6d
Add modelkit to path.
galanCA 5f2da33
Call modelkit from Rake.
galanCA 19fbc61
Call modelkit from Rake V2.
galanCA 21fa147
Call modelkit from Rake V3.
galanCA 748b429
Call modelkit from Rake V4.
galanCA 2e5e352
Call modelkit from Rake V5.
galanCA 8f8cf49
Call modelkit from Rake V6.
galanCA 35f72ea
Call modelkit from Rake V7.
galanCA d133883
Call modelkit from Rake V8.
galanCA 03ecfbf
Add modelkit to path.
galanCA c6d5677
Add modelkit to path V2.
galanCA 8812301
Add modelkit to path V3.
galanCA fd3e5b7
Add modelkit to path V4.
galanCA 149d0b0
Add modelkit to path V5.
galanCA 0760c74
Add modelkit to path V6.
galanCA 9a525d1
Add modelkit to path V7.
galanCA 3853e85
Add modelkit to path V8.
galanCA cc3a3f5
Run modelkit.
galanCA af1a584
Run modelkit V2.
galanCA 8e5e91f
Run modekit V3.
galanCA 69288bf
Install ruby.
galanCA 0e1dbe4
Install ruby V2.
galanCA 39b5933
Test modelkit ownership.
galanCA c139397
Add /SP- flag to installation.
galanCA 3ddb970
Check installation path.
galanCA 8874390
Check other installation path.
galanCA 2426709
Check other installation path V2.
galanCA e82351d
Test running modelkit.
galanCA 303c02e
Add modelkit to path.
galanCA 5bb7ba3
Check if modelkit is in PATH.
galanCA d80a926
Check if modelkit is in PATH V2.
galanCA 9d90024
Check if modelkit is in PATH V3.
galanCA 48b2de8
Adding bin folder to path.
galanCA 780c350
Adding bin folder to path V2.
galanCA 753ffb5
Print GITHUB_PATH.
galanCA ac5eff4
Change shell.
galanCA 9e288f7
Change shell V2.
galanCA d9397db
Change shell V3.
galanCA 90410b8
Change shell V4.
galanCA 21f3f62
Change shell v5.
galanCA 2c4e55a
Add modelkit to Path.
galanCA 0154432
Add modelkit to Path V2.
galanCA e07abe4
Check the directory 195.
galanCA 4f86b96
Check the directory 195 V2.
galanCA 1472d19
Error rake not creating output folder.
galanCA 5a30435
Change rake to modelkit rake.
galanCA de71911
Test modelkit help.
galanCA ee864c5
Check modelkit version and output enviroment path.
galanCA f0bcf68
Remove SP- flag from installation.
galanCA a3a6c1e
Check modelkit-folder.
galanCA 93481e7
Add /SP- again.
galanCA 3366e91
Check current directory modelkit not installing correctly.
galanCA 3f165f9
Call modelkit bat file.
galanCA 9b7668e
Check inside cases folder.
galanCA 87352e2
Find if rake is creating folder.
galanCA f84ce02
Debug CSE call.
galanCA 3be31f7
Split into different steps.
galanCA 9ab88d2
Check pwd.
galanCA 2117efd
Test ruby --version.
galanCA b16794e
Test ruby --version.
galanCA b7f8b06
Give absolute path to directory instalation for modelkit.
galanCA 99b8d39
Give absolute path to directory instalation for modelkit V2.
galanCA b27b433
Test single test for modelkit.
galanCA a06a3a1
Test single test for modelkit V2.
galanCA 1e1a2e6
Specify template case for modelkit.
galanCA 9e9a352
Specify template case for modelkit V2.
galanCA 49b5ada
Specify template case for modelkit V3.
galanCA 57de6e1
Debug modelkit not finding template.
galanCA 9993630
Change modelkit installer url.
galanCA 8ce3ead
Change modelkit installer url V2.
galanCA 2d4a629
Change quotes.
galanCA e9ac3e9
Debug modelkit template.
galanCA 8c25a43
Allow redirect to download modelkit.
galanCA c47c63e
Allow redirect to download modelkit V2.
galanCA e6cebff
Test redirect.
galanCA e1307a5
Revert to modelkit caboodle.
galanCA 362819f
Revert to modelkit caboodle.
galanCA 25aaea2
Test modelkit catalyst.
galanCA 3ff928a
Revert back to modelkit Caboodele V2.
galanCA 9cb4752
Revert back to modelkit Caboodele V3.
galanCA 51348f6
Revert back to modelkit Caboodele V4.
galanCA 04706c9
Remove bat test.
galanCA 99f42c1
Debug modelkit template-compose.
galanCA fba31d6
Use double quote for modelkit template.
galanCA 05ea8c8
Use double back slash.
galanCA eaddda8
Add modelkit help template compose.
galanCA bd73a8e
Test modelkit in bash.
galanCA 7b2c3f4
Foward slash.
galanCA 0557ea1
Remove quote.
galanCA a46ff11
remove shell.
galanCA 4b435b7
Separate download and installer.
galanCA f3c7294
Add modelkit-folder.
galanCA 43d8561
Merge branch 'add-test-workflow' of https://github.com/cse-sim/std140…
galanCA a3cd3b8
Remove download and installing modelkit.
galanCA d412963
Add dir before modelkit.
galanCA fa997d2
Add template.pxt.
galanCA 07bee4c
Add absolute path.
galanCA b62c95c
Check the path to template.
galanCA 6dd6222
User base-weather-drivers.
galanCA 7ffa67a
test get content.
galanCA 8a83436
echo pxt.
galanCA e3abfde
Test flags.
galanCA f8d294c
Pipe template in rake.
galanCA a915ad2
Pipe template in rake V2.
galanCA a3755c3
Clean up.
galanCA 8e4dc0b
Test waiting for modelkit installation to finish.
galanCA 6bcbff7
Debug report.
galanCA e3ef4ae
Debug report V2.
galanCA a639473
Delete modelkit folder.
galanCA 50da9bc
Test Python scripts.
galanCA b1c1b35
Install openpyxl for python.
galanCA b22def5
Add more python installation dependencies.
galanCA 989a67e
Add more python installation dependencies V2.
galanCA f176390
Remove true return.
galanCA 76e60a1
Test write-results.py.
galanCA 0ff095a
Remove python test.
galanCA 576f47f
Clean up.
galanCA b082dcc
Run section-5 test and weather-drivers test.
galanCA e76ac47
Split rake tests into different steps.
galanCA a125441
Split rake tests into different steps V2.
galanCA 2a0275f
Upload output folders for each test.
galanCA d541d3b
Upload results.
galanCA 494a0dc
Upload results V2.
galanCA 6eccfac
Upload results V3.
galanCA 7efa5db
Upload results V4.
galanCA eb94b51
Upload results V5.
galanCA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,32 @@ | ||
| name: Test | ||
|
|
||
| on: push | ||
|
|
||
| jobs: | ||
| test-std140: | ||
| name: Test std140 | ||
| runs-on: windows-2022 | ||
| defaults: | ||
| run: | ||
| shell: pwsh | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
| - name: Install python dependencies | ||
| run: pip install openpyxl numpy pandas matplotlib mako | ||
| - name: Download modelkit # Install modelkit | ||
| run: curl -o modelkit-installer.exe https://share.bigladdersoftware.com/files/modelkit-caboodle-0.9.0-flannel+caboodle.22.a701d43.exe | ||
| - name: Install modelkit | ||
| run: .\modelkit-installer.exe /SP- /VERYSILENT /DIR=modelkit-folder | Out-Null | ||
| - name: Add modelkit to path | ||
| run: | | ||
| "${{ github.workspace }}\modelkit-folder\bin" >> $env:GITHUB_PATH | ||
| - name: Run section-5 test | ||
| run: modelkit rake sim[section-5] | ||
| - name: Run weather-drivers test | ||
| run: modelkit rake sim[weather-drivers] | ||
| - name: Upload report | ||
| uses: actions/upload-artifact@v3 | ||
| with: | ||
| name: reports | ||
| path: ./reports/ |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was made to allow passing the template file to modelkit.