Ensure any wind_data and control setpoints on a passed FlorisModel ar… #2139
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
name: Code Quality Check | |
on: [push, pull_request] | |
jobs: | |
code-qa-validation: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
os: [ubuntu-latest] | |
fail-fast: False | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install project | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e ".[develop]" | |
- name: Run the code quality script | |
run: | | |
cd profiling | |
python quality_metrics.py |