Skip to content

Commit aa435fb

Browse files
Merge pull request #14 from FAIRDataPipeline/rr/fixes
Small fixes to package
2 parents 0be35c0 + 220d44e commit aa435fb

File tree

15 files changed

+129
-76
lines changed

15 files changed

+129
-76
lines changed

.github/workflows/docs.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- '*'
9+
pull_request:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v2
17+
- name: Set up julia
18+
uses: julia-actions/setup-julia@latest
19+
with:
20+
version: '1'
21+
arch: x64
22+
- name: Install dependencies
23+
run: |
24+
import Pkg
25+
Pkg.develop(Pkg.PackageSpec(path=pwd()))
26+
Pkg.instantiate()
27+
Pkg.add(url="https://github.com/mjb3/DiscretePOMP.jl")
28+
shell: julia --project=docs/ --color=yes {0}
29+
- name: Build and deploy
30+
run: |
31+
julia --project=docs/ --color=yes docs/make.jl
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
34+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key

.github/workflows/docs.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/testing.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- 'v*'
9+
pull_request:
10+
11+
jobs:
12+
dp-tests:
13+
runs-on: ${{ matrix.os }}
14+
continue-on-error: ${{ matrix.experimental }}
15+
strategy:
16+
matrix:
17+
julia-version:
18+
- '1.4'
19+
- '1'
20+
os:
21+
- ubuntu-latest
22+
- macOS-latest
23+
- windows-latest
24+
arch:
25+
- x64
26+
experimental:
27+
- false
28+
fail-fast: false
29+
steps:
30+
- name: Checkout code
31+
uses: actions/checkout@v2
32+
- name: Set up julia
33+
uses: julia-actions/setup-julia@v1
34+
with:
35+
version: ${{ matrix.julia-version }}
36+
arch: ${{ matrix.arch }}
37+
- name: Build package
38+
uses: julia-actions/julia-buildpkg@master
39+
- name: Running
40+
uses: julia-actions/julia-runtest@master
41+
- name: Process coverage
42+
uses: julia-actions/julia-processcoverage@v1
43+
- name: Coveralls
44+
uses: coverallsapp/github-action@master
45+
with:
46+
github-token: ${{ secrets.GITHUB_TOKEN }}
47+
path-to-lcov: ./lcov.info
48+
- name: Codecov
49+
uses: codecov/codecov-action@v1

.github/workflows/testing.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# NEWS
22

3-
- v0.50.8
4-
- Register Zenodo doi
3+
- v0.51.0
4+
- Register new name with General

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DataPipeline"
22
uuid = "9ced6f0a-eb77-43a8-bbd1-bbf3031b0d12"
33
authors = ["mjb3 <martinjosephburke@gmail.com>"]
4-
version = "0.50.8-zenodotest"
4+
version = "0.50.8-zenodotest6"
55

66
[deps]
77
AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9"
@@ -38,4 +38,4 @@ HTTP = "0.9"
3838
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3939

4040
[targets]
41-
test = ["Test"]
41+
test = ["Test"]

README.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
# DataPipeline.jl
2+
23
**The [FAIR Data Pipeline][dp_docs] in Julia**
34

4-
[![dev docs][docs-dev-img]][docs-dev-url]
5-
![Package tests](https://github.com/FAIRDataPipeline/DataPipeline.jl/workflows/Tests/badge.svg)
6-
[![JuliaNightly][nightly-img]][nightly-url]
5+
| **Documentation** | **Build Status** | **DOI** |
6+
|:-----------------:|:--------------------------:|:--------------------------:|
7+
| [![stable docs][docs-stable-img]][docs-stable-url] | [![Package Testing][testing-img]][testing-url] | [![Zenodo][zenodo-badge]][zenodo-url] |
8+
| [![dev docs][docs-dev-img]][docs-dev-url] | [![Julia Nightly][nightly-img]][nightly-url] | |
79

810
## Features
11+
912
- Conveniently download Data Products from the [SCRC Data Registry](https://data.scrc.uk/).
1013
- File hash-based version checking: new data is downloaded only when necessary.
1114
- A SQLite layer for convenient pre-processing (typically aggregation, and the joining of disparate datasets based on common identifiers.)
1215
- Easily register model code or realisations (i.e. 'runs') with a single line of code.
1316

1417
## Installation
1518

16-
The [current version of the] package is not yet registered and must be added via the package manager Pkg. From the REPL type `]` to enter Pkg mode and run:
19+
The package is now registered with General and can be added via the package manager Pkg. From the REPL type `]` to enter Pkg mode and run:
1720

18-
```
19-
pkg> add https://github.com/FAIRDataPipeline/DataPipeline.jl
21+
```julia
22+
pkg> add DataPipeline
2023
```
2124

2225
## Usage
@@ -27,7 +30,17 @@ See the [package documentation][docs] for instructions and examples.
2730

2831
[dp_docs]: https://fairdatapipeline.github.io/docs/introduction/
2932

33+
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
34+
[docs-stable-url]: https://fairdatapipeline.github.io/DataPipeline.jl/stable/
35+
3036
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg
3137
[docs-dev-url]: https://fairdatapipeline.github.io/DataPipeline.jl/dev/
38+
39+
[testing-img]: https://github.com/FAIRDataPipeline/DataPipeline.jl/actions/workflows/testing.yaml/badge.svg
40+
[testing-url]: https://github.com/FAIRDataPipeline/DataPipeline.jl/actions/workflows/testing.yaml
41+
3242
[nightly-img]: https://github.com/FAIRDataPipeline/DataPipeline.jl/actions/workflows/nightly.yaml/badge.svg
3343
[nightly-url]: https://github.com/FAIRDataPipeline/DataPipeline.jl/actions/workflows/nightly.yaml
44+
45+
[zenodo-badge]: https://zenodo.org/badge/302237736.svg
46+
[zenodo-url]: https://zenodo.org/badge/latestdoi/302237736

docs/Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[deps]
2+
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
23
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
4+
YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6"
35

46
[compat]
7+
DataFrames = "0.21, 0.22, 1"
58
Documenter = "0.26"
9+
YAML = "0.4"

docs/make.jl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
using Documenter, DataPipeline
1+
using Documenter
2+
using DataPipeline
23

3-
makedocs(sitename="[SCRC] DataPipeline.jl docs")
4+
makedocs(sitename="FAIRDataPipeline DataPipeline.jl docs")
45

5-
deploydocs(
6-
repo = "github.com/FAIRDataPipeline/DataPipeline.jl.git",
7-
devbranch = "main",
8-
)
6+
deploydocs(repo = "github.com/FAIRDataPipeline/DataPipeline.jl.git",
7+
devbranch = "main")

0 commit comments

Comments
 (0)