Inclusion of MoorDyn, floating platform orientations, and general adjustments to OF v.4 - An effort to integrate FAModel to generate FAST.Farm input files. #70
Workflow file for this run
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: 'Development Pipeline' | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize] #labeled, assigned] | |
# runs-on: ${{ matrix.os }} | |
# strategy: | |
# matrix: | |
# os: [macOS-10.14, ubuntu-18.04] | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# python-version: [3.7, 3.8, 3.9, 3.11, 3.12] # | |
jobs: | |
build-and-test: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
python-version: 3.9 | |
python: xvfb-run python3 | |
pip_arg: "" | |
- os: ubuntu-latest | |
python-version: 3.11 | |
python: xvfb-run python3 | |
pip_arg: "" | |
- os: ubuntu-latest | |
python-version: 3.12 | |
python: xvfb-run python3 | |
pip_arg: "" | |
- os: macos-13 | |
python-version: 3.12 | |
python: python3 | |
pip_arg: "" | |
- os: windows-2022 | |
python-version: 3.11 | |
python: python | |
pip_arg: --user | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
with: | |
submodules: recursive | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . | |
- name: Tests | |
run: | | |
python -m unittest discover |