Skip to content

Commit

Permalink
Merge branch 'dev' into doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ebranlard committed Nov 14, 2023
2 parents 2313b5b + ae56ab1 commit 8e1dd3d
Show file tree
Hide file tree
Showing 651 changed files with 282,996 additions and 132,066 deletions.
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# add (semi-useful) version info to git archive
CreateGitVersion.bat ident export-subst

# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf

13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,16 @@

**Test results, if applicable**
<!-- Add the results from unit tests and regression tests here along with justification for any failing test cases. -->

<!-- Release checklist:
- [ ] Update the documentation version in docs/conf.py
- [ ] Update the versions in docs/source/user/api_change.rst
- [ ] Verify readthedocs builds correctly
- [ ] Create a tag in OpenFAST
- [ ] Create a merge commit in r-test and add a corresponding tag
- [ ] Compile executables for Windows builds
- [ ] FAST_SFunc.mexw64
- [ ] OpenFAST-Simulink_x64.dll
- [ ] openfast_x64.exe
- [ ] DISCON.dll
-->
2 changes: 1 addition & 1 deletion .github/actions/tests-gluecode-openfast/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
- run: |
ctest -VV -L linear -E Ideal
ctest -VV -j8 -I 1,1,1,2,3,4,5,6,7,8,10,11,12,13,14,15,17,18,21,22,23,24,25,26,27,28,29
working-directory: ${{runner.workspace}}/build
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
# OpenFAST linearization tests
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/tests-module-aerodyn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ runs:
fi
if [[ ${{ inputs.test-target }} == "regression" ]] || [[ ${{ inputs.test-target }} == "all" ]]; then
ctest -VV -j7 -R ad_
ctest -VV -R ad_ -LE python # -j7 do not run these tests in parallel due to a bug in accessing shared files
fi
working-directory: ${{runner.workspace}}/build
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/tests-module-beamdyn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ runs:
ctest -VV -j7 -R bd_
fi
working-directory: ${{runner.workspace}}/build
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
4 changes: 2 additions & 2 deletions .github/actions/tests-module-hydrodyn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ author: 'Rafael Mudafort https://github.com/rafmudaf'
runs:
using: "composite"
steps:
- run: ctest -VV -j7 -R hd_
working-directory: ${{runner.workspace}}/build
- run: ctest -VV -j6 -R hd_ -LE python
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
22 changes: 19 additions & 3 deletions .github/actions/tests-module-inflowwind/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
name: 'InflowWind module tests'
description: 'Run tests specific to the InflowWind module'
author: 'Rafael Mudafort https://github.com/rafmudaf'

inputs:
test-target:
description: 'Which tests to run: unit | regression | all'
default: 'all'

runs:
using: "composite"
steps:
- run: ctest -VV -R inflowwind_utest
working-directory: ${{runner.workspace}}/build
steps:
- run: |
if [[ ${{ inputs.test-target }} == "unit" ]] || [[ ${{ inputs.test-target }} == "all" ]]; then
ctest -VV -R inflowwind_utest
fi
if [[ ${{ inputs.test-target }} == "regression" ]] || [[ ${{ inputs.test-target }} == "all" ]]; then
ctest -VV -j7 -R ifw_ -LE python
# Exclude the Python-interface tests since those are run directly in the job
fi
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
21 changes: 21 additions & 0 deletions .github/actions/tests-module-moordyn/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'MoorDyn module tests'
description: 'Run tests specific to the MoorDyn module'
author: 'Andy Platt https://github.com/andrew-platt'


inputs:
test-target:
description: 'Which tests to run: unit | regression | all'
default: 'all'

runs:
using: "composite"
steps:
- run: |
if [[ ${{ inputs.test-target }} == "regression" ]] || [[ ${{ inputs.test-target }} == "all" ]]; then
ctest -VV -j7 -R md_ -LE python
fi
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/tests-module-nwtclibrary/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ runs:
using: "composite"
steps:
- run: ctest -VV -R nwtc_library_utest
working-directory: ${{runner.workspace}}/build
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
9 changes: 9 additions & 0 deletions .github/actions/tests-module-seastate/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: 'SeaState module tests'
description: 'Run tests specific to the SeaState module'
author: 'Rafael Mudafort https://github.com/rafmudaf'
runs:
using: "composite"
steps:
- run: ctest -VV -j7 -R seastate_ -LE python
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/tests-module-subdyn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ runs:
using: "composite"
steps:
- run: ctest -VV -j7 -R SD_
working-directory: ${{runner.workspace}}/build
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
9 changes: 9 additions & 0 deletions .github/actions/tests-module-version/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: 'VersionInfo module tests'
description: 'Run tests specific to the NWTC Library module'
author: 'Rafael Mudafort https://github.com/rafmudaf'
runs:
using: "composite"
steps:
- run: ctest -VV -R versioninfo_utest
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
Loading

0 comments on commit 8e1dd3d

Please sign in to comment.