Skip to content

edit argument types #581

edit argument types

edit argument types #581

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Christian Willberg <christian.willberg@dlr.de>, Jan-Timo Hesse <jan-timo.hesse@dlr.de>
#
# SPDX-License-Identifier: BSD-3-Clause
name: PeriLab CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
workflow_dispatch:
push:
paths:
- "src/**"
- "test/**"
- "Project.toml"
branches:
- main
pull_request:
paths:
- "src/**"
- "test/**"
- "Project.toml"
branches-ignore:
- release
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 50
strategy:
# Without setting this, a failing test cancels all others
fail-fast: false
matrix:
# We test quite a lot of versions because we do some OS and version specific things unfortunately
julia-version: ["1.11", "1.12"]
os: [ubuntu-latest]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v5
- name: Setup julia
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
- name: Cache
uses: julia-actions/cache@v2
- name: Run Tests
uses: julia-actions/julia-runtest@v1
- name: Archive Test Results
if: failure()
uses: actions/upload-artifact@v4
with:
name: artifact-${{matrix.julia-version}}
path: test/fullscale_tests/
if-no-files-found: error
retention-days: 30
- name: Process Coverage
uses: julia-actions/julia-processcoverage@v1
- name: Upload Coverage
uses: codecov/codecov-action@v5.5.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: PeriHub/PeriLab.jl
files: lcov.info