Skip to content

Commit 6939654

Browse files
authored
Merge pull request #38 from JuliaAstro/ml/ci-artifacts
2 parents 3b3ac62 + deee750 commit 6939654

19 files changed

+312
-270
lines changed

.cirrus.yml

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

.drone.jsonnet

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

.drone.yml

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

.github/workflows/CI.yml

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

.github/workflows/CompatHelper.yml

Lines changed: 16 additions & 0 deletions
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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: TagBot
22
on:
3-
schedule:
4-
- cron: 0 * * * *
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
57
jobs:
68
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
710
runs-on: ubuntu-latest
811
steps:
912
- uses: JuliaRegistries/TagBot@v1
1013
with:
1114
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44

55
docs/build/
66
docs/site/
7-
**/Manifest.toml
7+
Manifest.toml
8+
!/docs/Manifest.toml

.travis.yml

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

Project.toml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
name = "WCS"
22
uuid = "15f3aee2-9e10-537f-b834-a6fb8bdb944d"
3-
version = "0.5.0"
3+
version = "0.5.1"
44

55
[deps]
6-
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
7-
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
6+
WCS_jll = "550c8279-ae0e-5d1b-948f-937f2608a23e"
87

98
[compat]
10-
BinaryProvider = "≥ 0.5.0"
11-
julia = "≥ 0.7.0"
12-
13-
[extras]
14-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
15-
16-
[targets]
17-
test = ["Test"]
9+
WCS_jll = "6.4"
10+
julia = "1.3"

README.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
WCS.jl
22
======
33

4-
<!-- Storage for badge urls -->
5-
[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
6-
[docs-latest-url]: https://juliaastro.github.io/WCS.jl/latest/
4+
[![Build Status](https://github.com/JuliaAstro/WCS.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/JuliaAstro/WCS.jl/actions/workflows/CI.yml?query=branch%3Amain)
5+
[![PkgEval](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/W/WCS.svg)](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html)
6+
[![Coverage](https://codecov.io/gh/JuliaAstro/WCS.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/JuliaAstro/WCS.jl)
7+
[![License](https://img.shields.io/github/license/JuliaAstro/WCS.jl?color=yellow)](LICENSE)
78

8-
[travis-img]: https://travis-ci.org/JuliaAstro/WCS.jl.svg?branch=master
9-
[travis-url]: https://travis-ci.org/JuliaAstro/WCS.jl
10-
11-
[coveralls-img]: https://img.shields.io/coveralls/JuliaAstro/WCS.jl.svg
12-
[coveralls-url]: https://coveralls.io/r/JuliaAstro/WCS.jl?branch=master
13-
14-
[![Build Status][travis-img]][travis-url]
15-
[![Doc Status][docs-latest-img]][docs-latest-url]
16-
[![Coverage Status][coveralls-img]][coveralls-url]
9+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaAstro.github.io/WCS.jl/stable)
10+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaAstro.github.io/WCS.jl/dev)
1711

1812
Astronomical [World Coordinate
1913
System](http://www.atnf.csiro.au/people/mcalabre/WCS/) library for

appveyor.yml

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

deps/.gitignore

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

deps/build.jl

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

0 commit comments

Comments
 (0)