Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit 085aa04

Browse files
committed
Add github actions
1 parent e3fe0a9 commit 085aa04

File tree

5 files changed

+349
-221
lines changed

5 files changed

+349
-221
lines changed

.github/workflows/documenter.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# @license BSD-3 https://opensource.org/licenses/BSD-3-Clause
2+
# Copyright (c) 2024, Institute of Automatic Control - RWTH Aachen University
3+
# All rights reserved.
4+
5+
name: Documenter
6+
on:
7+
push:
8+
branches: [main, master]
9+
tags: [v*]
10+
pull_request:
11+
12+
jobs:
13+
Documenter:
14+
permissions:
15+
contents: write
16+
statuses: write
17+
name: Documentation
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: julia-actions/julia-buildpkg@v1 # if package requires Pkg.build()
22+
- uses: julia-actions/julia-docdeploy@v1
23+
with:
24+
prefix: xvfb-run
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/run_tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# @license BSD-3 https://opensource.org/licenses/BSD-3-Clause
2+
# Copyright (c) 2024, Institute of Automatic Control - RWTH Aachen University
3+
# All rights reserved.
4+
5+
name: Run Tests
6+
on: [push, pull_request]
7+
8+
# needed to allow julia-actions/cache to delete old caches that it has created
9+
permissions:
10+
actions: write
11+
contents: read
12+
13+
jobs:
14+
test:
15+
runs-on: "ubuntu-latest"
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: julia-actions/setup-julia@v2
19+
with:
20+
version: "1.10"
21+
arch: "x64"
22+
- uses: julia-actions/julia-buildpkg@v1
23+
- uses: julia-actions/julia-runtest@v1
24+
with:
25+
prefix: xvfb-run
26+
- uses: julia-actions/julia-processcoverage@v1
27+
- uses: codecov/codecov-action@v1
28+
with:
29+
file: lcov.info

0 commit comments

Comments
 (0)