Skip to content

Commit

Permalink
Merge pull request #42 from JuliaHCI/ml/orient
Browse files Browse the repository at this point in the history
  • Loading branch information
mileslucas authored Feb 7, 2022
2 parents 341aa9f + 627706b commit 978f2f0
Show file tree
Hide file tree
Showing 25 changed files with 1,654 additions and 599 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}

39 changes: 22 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: CI

on:
push:
branches: [master]
branches: [main]
tags: ["*"]
pull_request:

branches: [main]
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
Expand All @@ -14,7 +18,7 @@ jobs:
fail-fast: false
matrix:
version:
- "1.3"
- "1.5"
- "1"
- "nightly"
os:
Expand All @@ -29,24 +33,25 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Cache artifacts
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@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: ./lcov.info
flags: unittests
aqua:
name: Aqua tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: julia-actions/julia-buildpkg@v1
- run: julia -e 'using Pkg; Pkg.add("Aqua")'
- run: julia --project=@. -e 'using Aqua, HCIToolbox; Aqua.test_all(HCIToolbox, ambiguities=false)'
docs:
name: Documentation
runs-on: ubuntu-latest
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/preview-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Doc Preview Cleanup

on:
pull_request:
types: [closed]

jobs:
doc-preview-cleanup:
runs-on: ubuntu-latest
steps:
- name: Checkout gh-pages branch
uses: actions/checkout@v2
with:
ref: gh-pages

- name: Delete preview and history
run: |
git config user.name "Documenter.jl"
git config user.email "[email protected]"
git rm -rf "previews/PR$PRNUM"
git commit -m "delete preview"
git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree})
env:
PRNUM: ${{ github.event.number }}

- name: Push changes
run: |
git push --force origin gh-pages-new:gh-pages
22 changes: 5 additions & 17 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,39 +1,27 @@
name = "HCIToolbox"
uuid = "b6cd55e5-4d02-4e12-b82c-005f67e784bf"
authors = ["Miles Lucas <[email protected]>"]
version = "0.5.5"
version = "0.6.0"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
CoordinateTransformations = "150eb455-5306-5404-9cee-2592286d6298"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
ImageFiltering = "6a3955dd-da59-5b1f-98d4-e7296123deb5"
ImageTransformations = "02fcd773-0e25-5acc-982a-7f6622650795"
Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PSFModels = "9ba017d1-7760-46cd-84a3-1e79e9ae9ddc"
PaddedViews = "5432bcbf-9aad-5242-b902-cca2824c8663"
Photometry = "af68cb61-81ac-52ed-8703-edc140936be4"
Rotations = "6038ab10-8711-5258-84ad-4b1120ba62dc"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
Compat = "2.2, 3.8"
CoordinateTransformations = "0.5, 0.6"
Distributions = "0.22, 0.23, 0.24"
FillArrays = "0.6, 0.7, 0.8, 0.9, 0.10, 0.11"
ImageFiltering = "0.6"
ImageTransformations = "0.8"
FillArrays = "0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12"
ImageTransformations = "0.9"
Interpolations = "0.12, 0.13"
PSFModels = "0.1"
PaddedViews = "0.5"
Photometry = "0.7"
Rotations = "1"
SpecialFunctions = "0.10, 1, 2"
StaticArrays = "0.12, 1.0"
StatsBase = "0.32, 0.33"
julia = "1.3"
StaticArrays = "0.12, 1"
julia = "1.5"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# HCIToolbox.jl

[![Build Status](https://github.com/juliahci/HCIToolbox.jl/workflows/CI/badge.svg?branch=master)](https://github.com/juliahci/HCIToolbox.jl/actions)
[![Build Status](https://github.com/juliahci/HCIToolbox.jl/workflows/CI/badge.svg?branch=main)](https://github.com/juliahci/HCIToolbox.jl/actions)
[![PkgEval](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/H/HCIToolbox.svg)](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html)
[![Coverage](https://codecov.io/gh/juliahci/HCIToolbox.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/juliahci/HCIToolbox.jl)
[![Coverage](https://codecov.io/gh/juliahci/HCIToolbox.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/juliahci/HCIToolbox.jl)
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliahci.github.io/HCIToolbox.jl/stable)
Expand Down
Loading

2 comments on commit 978f2f0

@mileslucas
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/54076

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>" 978f2f0ec98b18f866c2b87f3fd71235df5ced65
git push origin v0.6.0

Please sign in to comment.