Skip to content

Commit 6d3193c

Browse files
committed
Files generated by PkgTemplates
PkgTemplates version: 0.7.23
1 parent f33d4dc commit 6d3193c

15 files changed

+361
-0
lines changed

.appveyor.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Documentation: https://github.com/JuliaCI/Appveyor.jl
2+
environment:
3+
matrix:
4+
- julia_version: 1.6
5+
- julia_version: nightly
6+
platform:
7+
- x64
8+
cache:
9+
- '%USERPROFILE%\.julia\artifacts'
10+
matrix:
11+
allow_failures:
12+
- julia_version: nightly
13+
branches:
14+
only:
15+
- main
16+
- /release-.*/
17+
notifications:
18+
- provider: Email
19+
on_build_success: false
20+
on_build_failure: false
21+
on_build_status_changed: false
22+
install:
23+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
24+
build_script:
25+
- echo "%JL_BUILD_SCRIPT%"
26+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
27+
test_script:
28+
- echo "%JL_TEST_SCRIPT%"
29+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
30+
on_success:
31+
- echo "%JL_CODECOV_SCRIPT%"
32+
- C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"

.github/workflows/CI.yml

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags: '*'
7+
pull_request:
8+
concurrency:
9+
# Skip intermediate builds: always.
10+
# Cancel intermediate builds: only if it is a pull request build.
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
13+
jobs:
14+
test:
15+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
version:
21+
- '1.6'
22+
- 'nightly'
23+
os:
24+
- ubuntu-latest
25+
arch:
26+
- x64
27+
steps:
28+
- uses: actions/checkout@v2
29+
- uses: julia-actions/setup-julia@v1
30+
with:
31+
version: ${{ matrix.version }}
32+
arch: ${{ matrix.arch }}
33+
- uses: actions/cache@v1
34+
env:
35+
cache-name: cache-artifacts
36+
with:
37+
path: ~/.julia/artifacts
38+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
39+
restore-keys: |
40+
${{ runner.os }}-test-${{ env.cache-name }}-
41+
${{ runner.os }}-test-
42+
${{ runner.os }}-
43+
- uses: julia-actions/julia-buildpkg@v1
44+
- uses: julia-actions/julia-runtest@v1
45+
- uses: julia-actions/julia-processcoverage@v1
46+
- uses: codecov/codecov-action@v2
47+
with:
48+
files: lcov.info
49+
- uses: julia-actions/julia-uploadcoveralls@v1
50+
env:
51+
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
52+
docs:
53+
name: Documentation
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v2
57+
- uses: julia-actions/setup-julia@v1
58+
with:
59+
version: '1'
60+
- uses: julia-actions/julia-buildpkg@v1
61+
- uses: julia-actions/julia-docdeploy@v1
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
65+
- run: |
66+
julia --project=docs -e '
67+
using Documenter: DocMeta, doctest
68+
using MathepiaModels
69+
DocMeta.setdocmeta!(MathepiaModels, :DocTestSetup, :(using MathepiaModels); recursive=true)
70+
doctest(MathepiaModels)'

.github/workflows/CompatHelper.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CompatHelper
2+
on:
3+
schedule:
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
6+
jobs:
7+
CompatHelper:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Pkg.add("CompatHelper")
11+
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12+
- name: CompatHelper.main()
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16+
run: julia -e 'using CompatHelper; CompatHelper.main()'

.github/workflows/TagBot.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
jobs:
8+
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: JuliaRegistries/TagBot@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.jl.*.cov
2+
*.jl.cov
3+
*.jl.mem
4+
/Manifest.toml
5+
/docs/build/

.travis.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Documentation: http://docs.travis-ci.com/user/languages/julia
2+
language: julia
3+
notifications:
4+
email: false
5+
julia:
6+
- 1.6
7+
- nightly
8+
os:
9+
- linux
10+
arch:
11+
- x64
12+
cache:
13+
directories:
14+
- ~/.julia/artifacts
15+
jobs:
16+
fast_finish: true
17+
allow_failures:
18+
- julia: nightly
19+
after_success:
20+
- |
21+
julia -e '
22+
using Pkg
23+
Pkg.add("Coverage")
24+
using Coverage
25+
Codecov.submit(process_folder())'
26+
- |
27+
julia -e '
28+
using Pkg
29+
Pkg.add("Coverage")
30+
using Coverage
31+
Coveralls.submit(process_folder())'

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Pengfei Song
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Project.toml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name = "MathepiaModels"
2+
uuid = "2bd2a319-f9c6-417c-a4f9-7b097fc62840"
3+
authors = ["Pengfei Song"]
4+
version = "0.1.0"
5+
6+
[compat]
7+
julia = "1.6"
8+
9+
[extras]
10+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
11+
12+
[targets]
13+
test = ["Test"]

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# MathepiaModels
2+
3+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://Song921012.github.io/MathepiaModels.jl/stable)
4+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://Song921012.github.io/MathepiaModels.jl/dev)
5+
[![Build Status](https://github.com/Song921012/MathepiaModels.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/Song921012/MathepiaModels.jl/actions/workflows/CI.yml?query=branch%3Amain)
6+
[![Build Status](https://travis-ci.com/Song921012/MathepiaModels.jl.svg?branch=main)](https://travis-ci.com/Song921012/MathepiaModels.jl)
7+
[![Build Status](https://ci.appveyor.com/api/projects/status/github/Song921012/MathepiaModels.jl?svg=true)](https://ci.appveyor.com/project/Song921012/MathepiaModels-jl)
8+
[![Coverage](https://codecov.io/gh/Song921012/MathepiaModels.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/Song921012/MathepiaModels.jl)
9+
[![Coverage](https://coveralls.io/repos/github/Song921012/MathepiaModels.jl/badge.svg?branch=main)](https://coveralls.io/github/Song921012/MathepiaModels.jl?branch=main)

docs/Manifest.toml

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# This file is machine-generated - editing it directly is not advised
2+
3+
[[ANSIColoredPrinters]]
4+
git-tree-sha1 = "574baf8110975760d391c710b6341da1afa48d8c"
5+
uuid = "a4c015fc-c6ff-483c-b24f-f7ea428134e9"
6+
version = "0.0.1"
7+
8+
[[Base64]]
9+
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
10+
11+
[[Dates]]
12+
deps = ["Printf"]
13+
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
14+
15+
[[DocStringExtensions]]
16+
deps = ["LibGit2"]
17+
git-tree-sha1 = "b19534d1895d702889b219c382a6e18010797f0b"
18+
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
19+
version = "0.8.6"
20+
21+
[[Documenter]]
22+
deps = ["ANSIColoredPrinters", "Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
23+
git-tree-sha1 = "f425293f7e0acaf9144de6d731772de156676233"
24+
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
25+
version = "0.27.10"
26+
27+
[[IOCapture]]
28+
deps = ["Logging", "Random"]
29+
git-tree-sha1 = "f7be53659ab06ddc986428d3a9dcc95f6fa6705a"
30+
uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89"
31+
version = "0.2.2"
32+
33+
[[InteractiveUtils]]
34+
deps = ["Markdown"]
35+
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
36+
37+
[[JSON]]
38+
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
39+
git-tree-sha1 = "8076680b162ada2a031f707ac7b4953e30667a37"
40+
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
41+
version = "0.21.2"
42+
43+
[[LibGit2]]
44+
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
45+
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
46+
47+
[[Logging]]
48+
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
49+
50+
[[Markdown]]
51+
deps = ["Base64"]
52+
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
53+
54+
[[MathepiaModels]]
55+
path = ".."
56+
uuid = "2bd2a319-f9c6-417c-a4f9-7b097fc62840"
57+
version = "0.1.0"
58+
59+
[[Mmap]]
60+
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
61+
62+
[[NetworkOptions]]
63+
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
64+
65+
[[Parsers]]
66+
deps = ["Dates"]
67+
git-tree-sha1 = "ae4bbcadb2906ccc085cf52ac286dc1377dceccc"
68+
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
69+
version = "2.1.2"
70+
71+
[[Printf]]
72+
deps = ["Unicode"]
73+
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
74+
75+
[[REPL]]
76+
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
77+
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
78+
79+
[[Random]]
80+
deps = ["Serialization"]
81+
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
82+
83+
[[SHA]]
84+
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
85+
86+
[[Serialization]]
87+
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
88+
89+
[[Sockets]]
90+
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
91+
92+
[[Test]]
93+
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
94+
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
95+
96+
[[Unicode]]
97+
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

docs/Project.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
MathepiaModels = "2bd2a319-f9c6-417c-a4f9-7b097fc62840"

docs/make.jl

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
using MathepiaModels
2+
using Documenter
3+
4+
DocMeta.setdocmeta!(MathepiaModels, :DocTestSetup, :(using MathepiaModels); recursive=true)
5+
6+
makedocs(;
7+
modules=[MathepiaModels],
8+
authors="Pengfei Song",
9+
repo="https://github.com/Song921012/MathepiaModels.jl/blob/{commit}{path}#{line}",
10+
sitename="MathepiaModels.jl",
11+
format=Documenter.HTML(;
12+
prettyurls=get(ENV, "CI", "false") == "true",
13+
canonical="https://Song921012.github.io/MathepiaModels.jl",
14+
assets=String[],
15+
),
16+
pages=[
17+
"Home" => "index.md",
18+
],
19+
)
20+
21+
deploydocs(;
22+
repo="github.com/Song921012/MathepiaModels.jl",
23+
devbranch="main",
24+
)

docs/src/index.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
```@meta
2+
CurrentModule = MathepiaModels
3+
```
4+
5+
# MathepiaModels
6+
7+
Documentation for [MathepiaModels](https://github.com/Song921012/MathepiaModels.jl).
8+
9+
```@index
10+
```
11+
12+
```@autodocs
13+
Modules = [MathepiaModels]
14+
```

src/MathepiaModels.jl

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module MathepiaModels
2+
3+
# Write your package code here.
4+
5+
end

test/runtests.jl

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
using MathepiaModels
2+
using Test
3+
4+
@testset "MathepiaModels.jl" begin
5+
# Write your tests here.
6+
end

0 commit comments

Comments
 (0)