-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Arkoniak/update_julia_1
Update to julia 1
- Loading branch information
Showing
44 changed files
with
515 additions
and
800 deletions.
There are no files selected for viewing
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,69 @@ | ||
name: CI | ||
on: | ||
- push | ||
- pull_request | ||
jobs: | ||
test: | ||
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- '1.0' | ||
- '1' | ||
- 'nightly' | ||
os: | ||
- ubuntu-latest | ||
- macOS-latest | ||
- windows-latest | ||
arch: | ||
- x64 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
- uses: actions/cache@v1 | ||
env: | ||
cache-name: cache-artifacts | ||
with: | ||
path: ~/.julia/artifacts | ||
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-test-${{ env.cache-name }}- | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v1 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
file: lcov.info | ||
docs: | ||
name: Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: '1.3' | ||
- run: | | ||
julia --project=docs -e ' | ||
using Pkg | ||
Pkg.develop(PackageSpec(path=pwd())) | ||
Pkg.add(PackageSpec(url="https://github.com/Arkoniak/Documenter.jl", rev="repo_url")); | ||
Pkg.instantiate()' | ||
- run: | | ||
julia --project=docs -e ' | ||
using Documenter: DocMeta, doctest | ||
using Timestamps | ||
DocMeta.setdocmeta!(Timestamps, :DocTestSetup, :(using Timestamps); recursive=true) | ||
doctest(Timestamps)' | ||
- run: julia --project=docs docs/make.jl | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
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,16 @@ | ||
name: CompatHelper | ||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
workflow_dispatch: | ||
jobs: | ||
CompatHelper: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Pkg.add("CompatHelper") | ||
run: julia -e 'using Pkg; Pkg.add("CompatHelper"); Pkg.resolve()' | ||
- name: CompatHelper.main() | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} | ||
run: julia -e 'using CompatHelper; CompatHelper.main()' |
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,15 @@ | ||
name: TagBot | ||
on: | ||
issue_comment: | ||
types: | ||
- created | ||
workflow_dispatch: | ||
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 }} | ||
ssh: ${{ secrets.DOCUMENTER_KEY }} |
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 +1,7 @@ | ||
*.swp | ||
*.jl.*.cov | ||
*.jl.cov | ||
*.jl.mem | ||
/Manifest.toml | ||
/docs/Manifest.toml | ||
/docs/build/ |
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
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,16 @@ | ||
name = "Timestamps" | ||
uuid = "0123453a-27b6-4e80-93fe-c2c00e33fefb" | ||
authors = ["Andrey Oskin and contributors <https://github.com/JuliaQuant/Timestamps.jl/graphs/contributors>"] | ||
version = "0.1.0" | ||
|
||
[deps] | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
|
||
[compat] | ||
julia = "1" | ||
|
||
[extras] | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test"] |
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,15 +1,19 @@ | ||
Timestamps.jl | ||
============ | ||
# Timestamps.jl | ||
|
||
[![Build Status](https://travis-ci.org/JuliaQuant/Timestamps.jl.svg?branch=master)](https://travis-ci.org/JuliaQuant/Timestamps.jl) | ||
[![Coverage Status](https://coveralls.io/repos/JuliaQuant/Timestamps.jl/badge.svg?branch=master)](https://coveralls.io/r/JuliaQuant/Timestamps.jl?branch=master) | ||
[![Timestamps](http://pkg.julialang.org/badges/Timestamps_0.4.svg)](http://pkg.julialang.org/?pkg=Timestamps&ver=0.4) | ||
| **Documentation** | **Build Status** | **JuliaHub** | | ||
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| | ||
| [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaQuant.github.io/Timestamps.jl/stable)[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaQuant.github.io/Timestamps.jl/dev) | [![Build](https://github.com/JuliaQuant/Timestamps.jl/workflows/CI/badge.svg)](https://github.com/JuliaQuant/Timestamps.jl/actions)[![Coverage](https://codecov.io/gh/JuliaQuant/Timestamps.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaQuant/Timestamps.jl) | [![pkgeval](https://juliahub.com/docs/Timestamps/pkgeval.svg)](https://juliahub.com/ui/Packages/Timestamps/y83nC)[![version](https://juliahub.com/docs/Timestamps/version.svg)](https://juliahub.com/ui/Packages/Timestamps/y83nC) | | ||
|
||
Timestamps provides the ability to work with time-based values without many of the constraints inherent in organizing | ||
a time series. Multiple dates and values of different types can part of an `Array{Timestamp}`. | ||
a time series. Multiple dates and values of different types can part of an `Vector{Timestamp}`. | ||
|
||
Documentation is provided [here](http://timestampsjl.readthedocs.org/en/latest/). | ||
*WARNING*: versions `0.1.*` are not following semver and may contain breaking changes. Use at your own risk. | ||
|
||
Previous documentation can be found [here](http://timestampsjl.readthedocs.org/en/latest/). | ||
|
||
## Installation | ||
|
||
````julia | ||
julia> using Pkg | ||
julia> Pkg.add("Timestamps") | ||
```` |
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,3 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
Timestamps = "0123453a-27b6-4e80-93fe-c2c00e33fefb" |
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,24 @@ | ||
using Timestamps | ||
using Documenter | ||
|
||
DocMeta.setdocmeta!(Timestamps, :DocTestSetup, :(using Timestamps); recursive=true) | ||
|
||
makedocs(; | ||
modules=[Timestamps], | ||
authors="Andrey Oskin and contributors <https://github.com/JuliaQuant/Timestamps.jl/graphs/contributors>", | ||
repo="https://github.com/JuliaQuant/Timestamps.jl/blob/{commit}{path}#{line}", | ||
sitename="Timestamps.jl", | ||
format=Documenter.HTML(; | ||
prettyurls=get(ENV, "CI", "false") == "true", | ||
canonical="https://JuliaQuant.github.io/Timestamps.jl", | ||
siteurl="https://github.com/JuliaQuant/Timestamps.jl", | ||
assets=String[], | ||
), | ||
pages=[ | ||
"Home" => "index.md", | ||
], | ||
) | ||
|
||
deploydocs(; | ||
repo="github.com/JuliaQuant/Timestamps.jl", | ||
) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
691e501
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
691e501
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/33391
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: