Skip to content
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

Update to OpenFAST-dev #152

Merged
merged 3 commits into from
Nov 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions OpenFAST/.codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
require_base: yes
require_head: yes
branches: null

flag_management:
# this section will govern all default rules of Flags
default_rules:
carryforward: boolean?
ignore: [path]?
paths: [path]?
statuses: [
name_prefix: string (r"^[\w\-\.]+$")
type: OR("project", "patch", "changes")
target: OR("auto", percent)?
include_changes: OR("auto", percent)?
threshold: percent?
**normal status attributes
]?
14 changes: 14 additions & 0 deletions OpenFAST/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,17 @@

**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
- [ ] MAP_X64.dll
- [ ] OpenFAST-Simulink_x64.dll
- [ ] openfast_x64.exe
- [ ] DISCON.dll
-->
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
2 changes: 1 addition & 1 deletion OpenFAST/.github/actions/tests-module-aerodyn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ runs:
ctest -VV -j7 -R ad_
fi
working-directory: ${{runner.workspace}}/build
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
2 changes: 1 addition & 1 deletion OpenFAST/.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
2 changes: 1 addition & 1 deletion OpenFAST/.github/actions/tests-module-hydrodyn/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 hd_
working-directory: ${{runner.workspace}}/build
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
22 changes: 19 additions & 3 deletions OpenFAST/.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
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
2 changes: 1 addition & 1 deletion OpenFAST/.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
Loading