Skip to content

Commit

Permalink
Merge pull request #127 from Arkoniak/update_julia_1
Browse files Browse the repository at this point in the history
updated to julia 1.0+
  • Loading branch information
Arkoniak committed Apr 1, 2021
2 parents 700dfa4 + 20c7653 commit fe748a6
Show file tree
Hide file tree
Showing 7 changed files with 116 additions and 46 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
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.1'
- '1'
- 'nightly'
os:
- ubuntu-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.5'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using MarketTechnicals
DocMeta.setdocmeta!(MarketTechnicals, :DocTestSetup, :(using MarketTechnicals); recursive=true)
doctest(MarketTechnicals)'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
16 changes: 16 additions & 0 deletions .github/workflows/CompatHelper.yml
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()'
15 changes: 15 additions & 0 deletions .github/workflows/TagBot.yml
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 }}
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

MarketTechnicals.jl is licensed under the MIT License:

> Copyright (c) 2013-17: Algorithm Alpha, LLC, Iblis Lin and other contributors.
> Copyright (c) 2013-21: Algorithm Alpha, LLC, Iblis Lin and other contributors.
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
Expand Down
16 changes: 15 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
name = "MarketTechnicals"
uuid = "4f8c86c6-9e40-5506-9807-98571cb48bc8"
authors = ["JuliaQuant <https://github.com/JuliaQuant>"]
version = "0.6.0"

[deps]
MarketData = "945b72a4-3b13-509d-9b46-1525bb5c06de"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TimeSeries = "9e3dc215-6440-5c97-bce1-76c03772f85e"

[compat]
MarketData = "0.13"
Reexport = "0.2, 1.0"
StatsBase = "0.32, 0.33"
TimeSeries = "0.17, 0.18, 0.19, 0.20, 0.21"
julia = "1.1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# MarketTechnicals.jl

[![Build Status](https://travis-ci.org/JuliaQuant/MarketTechnicals.jl.svg?branch=master)](https://travis-ci.org/JuliaQuant/MarketTechnicals.jl)
[![Coverage Status](https://coveralls.io/repos/github/JuliaQuant/MarketTechnicals.jl/badge.svg?branch=master)](https://coveralls.io/github/JuliaQuant/MarketTechnicals.jl?branch=master)
[![MarketTechnicals](http://pkg.julialang.org/badges/MarketTechnicals_0.5.svg)](http://pkg.julialang.org/?pkg=MarketTechnicals&ver=0.5)
[![Doc](https://img.shields.io/badge/docs-latest-blue.svg)](https://JuliaQuant.github.io/MarketTechnicals.jl/latest/index.html)
| **Documentation** | **Build Status** |
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaQuant.github.io/MarketTechnicals.jl/stable)[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaQuant.github.io/MarketTechnicals.jl/dev) | [![Build](https://github.com/JuliaQuant/MarketTechnicals.jl/workflows/CI/badge.svg)](https://github.com/JuliaQuant/MarketTechnicals.jl/actions)[![Coverage](https://codecov.io/gh/JuliaQuant/MarketTechnicals.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaQuant/MarketTechnicals.jl) |

A toolkit for technical analysis of financial time series in Julia.


## Development Setup

### Documentation
Expand Down

2 comments on commit fe748a6

@Arkoniak
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

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/33341

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:

git tag -a v0.6.0 -m "<description of version>" fe748a6d9a310b2b590af59c05b9feb4fc1f8189
git push origin v0.6.0

Also, note the warning: This looks like a new registration that registers version 0.6.0.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

Please sign in to comment.