Skip to content

Code Coverage, Precompiled OpenFAST Binaries, Docs Update #150

Code Coverage, Precompiled OpenFAST Binaries, Docs Update

Code Coverage, Precompiled OpenFAST Binaries, Docs Update #150

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags: ['*']
pull_request:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
- '1'
os:
- ubuntu-latest
include:
- os: windows-latest
version: '1'
- os: macOS-latest
version: '1'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- name: Install OpenFASTWrappers
shell: julia --color=yes --project=. {0}
run: |
using Pkg
Pkg.add([
PackageSpec(url="https://github.com/byuflowlab/Composites.jl.git"),
PackageSpec(url="[email protected]:sandialabs/OWENSPreComp.jl.git"),
PackageSpec(url="[email protected]:sandialabs/OWENSOpenFAST_jll.jl.git"),
PackageSpec(url="[email protected]:sandialabs/OWENSOpenFASTWrappers.jl.git"),
PackageSpec(url="[email protected]:sandialabs/OWENSAero.jl.git"),
PackageSpec(url="[email protected]:sandialabs/OWENSFEA.jl.git"),
PackageSpec(url="[email protected]:sandialabs/OWENS.jl.git"),
])
if: ${{ matrix.version == '1.10' }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
file: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}