Skip to content

Generalized propulsion functions #533

Generalized propulsion functions

Generalized propulsion functions #533

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
#test set for varied julia versions
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: #as defined by setup-julia - https://github.com/julia-actions/setup-julia?tab=readme-ov-file#examples
- '1' #latest stable release
- 'lts' #long-term-support, julia 1.10 as of 10/2024
os:
- ubuntu-latest
arch:
- x64
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Julia
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Cache Julia artifacts
uses: julia-actions/cache@v2
env:
cache-name: cache-artifacts
- name: Build Julia package
uses: julia-actions/julia-buildpkg@v1
- name: Run Julia tests
uses: julia-actions/julia-runtest@v1
with:
depwarn: 'yes'
- name: Process coverage
uses: julia-actions/julia-processcoverage@v1
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: lcov.info