Skip to content

Commit 5a886a6

Browse files
authored
Initial commit
0 parents  commit 5a886a6

26 files changed

+475
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Blank issue
3+
about: Blank template for general issue
4+
title: "[General] title"
5+
labels: ''
6+
assignees: ocots
7+
8+
---
9+
10+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report to help us improve
4+
title: "[Bug] title"
5+
labels: bug
6+
assignees: ocots
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Give if possible the code to reproduce the error:
15+
16+
```julia
17+
julia> f(x)=1
18+
f (generic function with 1 method)
19+
20+
julia> f()
21+
ERROR: MethodError: no method matching f()
22+
```
23+
24+
**Expected behavior**
25+
A clear and concise description of what you expected to happen.
26+
27+
**Screenshots**
28+
If applicable, add screenshots to help explain your problem.
29+
30+
**Additional context**
31+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: CTApp.jl package support
4+
url: https://github.com/control-toolbox/CTApp.jl/discussions
5+
about: Please ask and answer questions about CTApp.jl here.
6+
- name: Control-toolbox organisation support
7+
url: https://github.com/orgs/control-toolbox/discussions
8+
about: For more general questions about control-toolbox ecosystem it's here.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: 'Developers '
3+
about: Suggest internal modifications
4+
title: "[Dev] title"
5+
labels: internal dev
6+
assignees: ocots
7+
8+
---
9+
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Documentation suggestion
3+
about: Suggest improvements or additions to the documentation
4+
title: "[Doc] title"
5+
labels: documentation
6+
assignees: ocots
7+
8+
---
9+
10+
**Please detail your suggestion.**
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[Feature] title"
5+
labels: enhancement
6+
assignees: ocots
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/codecov.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
informational: true
6+
patch:
7+
default:
8+
informational: true

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "weekly"

.github/workflows/CI.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# [.github/workflows/CI.yml]
2+
name: CI
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags: '*'
8+
pull_request:
9+
jobs:
10+
test:
11+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
version:
16+
- '1.10'
17+
- '1.11'
18+
os:
19+
- ubuntu-latest
20+
arch:
21+
- x64
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: julia-actions/setup-julia@latest
25+
with:
26+
version: ${{ matrix.version }}
27+
arch: ${{ matrix.arch }}
28+
- uses: julia-actions/julia-runtest@latest

.github/workflows/CompatHelper.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# CompatHelper v3.5.0
2+
name: CompatHelper
3+
on:
4+
schedule:
5+
- cron: 0 0 * * *
6+
workflow_dispatch:
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
jobs:
11+
CompatHelper:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check if Julia is already available in the PATH
15+
id: julia_in_path
16+
run: which julia
17+
continue-on-error: true
18+
- name: Install Julia, but only if it is not already available in the PATH
19+
uses: julia-actions/setup-julia@v1
20+
with:
21+
version: '1'
22+
arch: ${{ runner.arch }}
23+
if: steps.julia_in_path.outcome != 'success'
24+
- name: "Add the General registry via Git"
25+
run: |
26+
import Pkg
27+
ENV["JULIA_PKG_SERVER"] = ""
28+
Pkg.Registry.add("General")
29+
shell: julia --color=yes {0}
30+
- name: "Install CompatHelper"
31+
run: |
32+
import Pkg
33+
name = "CompatHelper"
34+
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
35+
version = "3"
36+
Pkg.add(; name, uuid, version)
37+
shell: julia --color=yes {0}
38+
- name: "Run CompatHelper"
39+
run: |
40+
import CompatHelper
41+
CompatHelper.main(; subdirs=["", "docs", "test"], entry_type=CompatHelper.DropEntry())
42+
shell: julia --color=yes {0}
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
46+
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}

0 commit comments

Comments
 (0)