-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
292 additions
and
128 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: CompatHelper | ||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
workflow_dispatch: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
jobs: | ||
CompatHelper: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if Julia is already available in the PATH | ||
id: julia_in_path | ||
run: which julia | ||
continue-on-error: true | ||
- name: Install Julia, but only if it is not already available in the PATH | ||
uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: '1' | ||
arch: ${{ runner.arch }} | ||
if: steps.julia_in_path.outcome != 'success' | ||
- name: "Add the General registry via Git" | ||
run: | | ||
import Pkg | ||
ENV["JULIA_PKG_SERVER"] = "" | ||
Pkg.Registry.add("General") | ||
shell: julia --color=yes {0} | ||
- name: "Install CompatHelper" | ||
run: | | ||
import Pkg | ||
name = "CompatHelper" | ||
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7" | ||
version = "3" | ||
Pkg.add(; name, uuid, version) | ||
shell: julia --color=yes {0} | ||
- name: "Run CompatHelper" | ||
run: | | ||
import CompatHelper | ||
CompatHelper.main() | ||
shell: julia --color=yes {0} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} | ||
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: TagBot | ||
on: | ||
issue_comment: | ||
types: | ||
- created | ||
workflow_dispatch: | ||
inputs: | ||
lookback: | ||
default: 3 | ||
permissions: | ||
actions: read | ||
checks: read | ||
contents: write | ||
deployments: read | ||
issues: read | ||
discussions: read | ||
packages: read | ||
pages: read | ||
pull-requests: read | ||
repository-projects: read | ||
security-events: read | ||
statuses: read | ||
jobs: | ||
TagBot: | ||
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: JuliaRegistries/TagBot@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key | ||
ssh: ${{ secrets.DOCUMENTER_KEY }} | ||
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
- 'releases/**' | ||
tags: '*' | ||
pull_request: | ||
release: | ||
|
||
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 }} - ${{ matrix.arch }} - ${{ github.event_name }} | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: ${{ matrix.version == 'nightly' }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- '1.6' | ||
- '1' | ||
- 'nightly' | ||
os: | ||
- ubuntu-latest | ||
arch: | ||
- x64 | ||
include: | ||
- version: 1 | ||
os: ubuntu-latest | ||
arch: x86 | ||
- version: 1 | ||
os: macOS-latest | ||
arch: x64 | ||
- version: 1 | ||
os: windows-latest | ||
arch: x64 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
- uses: julia-actions/cache@v1 | ||
- name: registry_add | ||
run: julia add_registries.jl | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 | ||
with: | ||
coverage: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.arch == 'x64' }} | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.arch == 'x64' | ||
- uses: codecov/codecov-action@v3 | ||
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.arch == 'x64' | ||
with: | ||
file: lcov.info | ||
docs: | ||
name: Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: '1' | ||
- uses: julia-actions/cache@v1 | ||
- name: registry_add | ||
run: julia add_registries.jl | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-docdeploy@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# Needed due to https://github.com/JuliaDocs/Documenter.jl/issues/1177 | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | ||
GKSwstype: 'nul' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
*.jl.cov | ||
*.jl.*.cov | ||
*.jl.mem | ||
.ipynb_checkpoints | ||
.vscode | ||
Manifest.toml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,30 @@ | ||
name = "LegendDSP" | ||
uuid = "e6d7a502-be5c-5049-a927-8d60e566555d" | ||
version = "0.1.0" | ||
|
||
[deps] | ||
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" | ||
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197" | ||
ArraysOfArrays = "65a8f2f4-9b39-5baf-92e2-a9cc46fdf018" | ||
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" | ||
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" | ||
FunctionChains = "8e6b2b91-af83-483e-ba35-d00930e4cf9b" | ||
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
RadiationDetectorDSP = "afd6e06f-c550-5763-af36-7391d39e46ec" | ||
RadiationDetectorSignals = "bf2c0563-65cf-5db2-a620-ceb7de82658c" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" | ||
|
||
[extras] | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test"] | ||
[compat] | ||
Adapt = "1, 2, 3" | ||
ArgCheck = "1, 2" | ||
ArraysOfArrays = "0.4, 0.5, 0.6" | ||
DocStringExtensions = "0.8, 0.9" | ||
FillArrays = "0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 1" | ||
FunctionChains = "0.1" | ||
IntervalSets = "0.7" | ||
RadiationDetectorDSP = "0.2.1" | ||
RadiationDetectorSignals = "0.3.3" | ||
Unitful = "1" | ||
julia = "1.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# LegendDSP.jl | ||
|
||
[![Documentation for stable version](https://img.shields.io/badge/docs-stable-blue.svg)](https://legend-exp.github.io/LegendDSP.jl/stable) | ||
[![Documentation for development version](https://img.shields.io/badge/docs-dev-blue.svg)](https://legend-exp.github.io/LegendDSP.jl/dev) | ||
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.md) | ||
[![Travis Build Status](https://travis-ci.com/legend-exp/LegendDSP.jl.svg?branch=master)](https://travis-ci.com/legend-exp/LegendDSP.jl) | ||
[![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/github/legend-exp/LegendDSP.jl?branch=master&svg=true)](https://ci.appveyor.com/project/legend-exp/LegendDSP-jl) | ||
[![Codecov](https://codecov.io/gh/legend-exp/LegendDSP.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/legend-exp/LegendDSP.jl) | ||
[![Build Status](https://github.com/legend-exp/LegendDSP.jl/workflows/CI/badge.svg?branch=main)](https://github.com/legend-exp/LegendDSP.jl/actions?query=workflow%3ACI) | ||
[![Codecov](https://codecov.io/gh/legend-exp/LegendDSP.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/legend-exp/LegendDSP.jl) | ||
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl) | ||
|
||
|
||
## Documentation | ||
|
||
* [Documentation for stable version](https://legend-exp.github.io/LegendDSP.jl/stable) | ||
* [Documentation for development version](https://legend-exp.github.io/LegendDSP.jl/dev) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
using Pkg; pkg"registry add General https://github.com/legend-exp/LegendJuliaRegistry.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,39 @@ | ||
# Use | ||
# | ||
# DOCUMENTER_DEBUG=true julia --color=yes make.jl local [fixdoctests] | ||
# DOCUMENTER_DEBUG=true julia --color=yes make.jl local [nonstrict] [fixdoctests] | ||
# | ||
# for local builds. | ||
|
||
using Documenter | ||
using LegendDSP | ||
|
||
# Doctest setup | ||
DocMeta.setdocmeta!( | ||
LegendDSP, | ||
:DocTestSetup, | ||
:(using LegendDSP); | ||
recursive=true, | ||
) | ||
|
||
makedocs( | ||
sitename = "LegendDSP", | ||
modules = [LegendDSP], | ||
format = :html, | ||
pages=[ | ||
format = Documenter.HTML( | ||
prettyurls = !("local" in ARGS), | ||
canonical = "https://legend-exp.github.io/LegendDSP.jl/stable/" | ||
), | ||
pages = [ | ||
"Home" => "index.md", | ||
"API" => "api.md", | ||
"LICENSE" => "LICENSE.md", | ||
], | ||
doctest = ("fixdoctests" in ARGS) ? :fix : true, | ||
html_prettyurls = !("local" in ARGS), | ||
html_canonical = "https://legend-exp.github.io/LegendDSP.jl/stable/", | ||
linkcheck = !("nonstrict" in ARGS), | ||
strict = !("nonstrict" in ARGS), | ||
) | ||
|
||
deploydocs( | ||
repo = "github.com/legend-exp/LegendDSP.jl.git" | ||
repo = "github.com/legend-exp/LegendDSP.jl.git", | ||
forcepush = true, | ||
push_preview = true, | ||
) |
Oops, something went wrong.