-
Notifications
You must be signed in to change notification settings - Fork 13
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 #10 from joshua-cogliati-inl/test_script
Adding testing as github action
- Loading branch information
Showing
15 changed files
with
58 additions
and
11 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,21 @@ | ||
name: Github FORCE run tests | ||
run-name: ${{ github.actor }} is testing out FORCE | ||
on: [push, pull_request] | ||
jobs: | ||
Runtests-FORCE-Linux: | ||
runs-on: [self-hosted, linux] | ||
steps: | ||
- run: echo " The job was automatically triggered by a ${{ github.event_name }} event." | ||
- run: echo " This job is now running on a ${{ runner.os }} server" | ||
- run: echo " The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- run: pwd | ||
- run: WD=`(cd ../../.. && pwd)` && export RAVEN_LIBS_NAME="raven_libs_"`basename $WD` && ./initalize_tests.sh | ||
- run: source raven/scripts/establish_conda_env.sh --load && ./run_tests | ||
- name: Archive | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: tests_results | ||
path: tests |
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,6 @@ | ||
[submodule "raven"] | ||
path = raven | ||
url = https://github.com/idaholab/raven.git | ||
[submodule "HERON"] | ||
path = HERON | ||
url = https://github.com/idaholab/HERON.git |
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,18 @@ | ||
#!/bin/bash | ||
|
||
git submodule init raven | ||
git submodule init HERON | ||
git submodule update | ||
|
||
cd raven | ||
|
||
git submodule init plugins/TEAL/ | ||
git submodule update | ||
|
||
python scripts/install_plugins.py -s plugins/TEAL | ||
python scripts/install_plugins.py -s ../HERON/ | ||
|
||
./scripts/establish_conda_env.sh --install | ||
./build_raven | ||
|
||
(source ./scripts/establish_conda_env.sh --load && conda install -y -c conda-forge openpyxl) |
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
Binary file modified
BIN
-297 Bytes
(99%)
tests/integration_tests/Aspen_HERON_FullTest/gold/Sets1/Setfile_pumps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file modified
BIN
+44 Bytes
(100%)
.../integration_tests/create_FORCE_CompSets/gold/Sets1/Setfile_heat_exchangers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-99 Bytes
(100%)
tests/integration_tests/create_FORCE_CompSets/gold/Sets1/Setfile_pumps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+88 Bytes
(100%)
tests/integration_tests/create_FORCE_CompSets/gold/Sets1/Setfile_turbines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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