Skip to content

Commit e06c6d4

Browse files
committed
Updated package from PkgTemplates template
1 parent 936c64a commit e06c6d4

10 files changed

+116
-3
lines changed

.github/workflows/CI.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags: '*'
7+
pull_request:
8+
concurrency:
9+
# Skip intermediate builds: always.
10+
# Cancel intermediate builds: only if it is a pull request build.
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
13+
jobs:
14+
test:
15+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
version:
21+
- '1.0'
22+
- '1.3'
23+
- '1.6'
24+
os:
25+
- ubuntu-latest
26+
- macOS-latest
27+
- windows-latest
28+
arch:
29+
- x64
30+
- x86
31+
exclude:
32+
- os: macOS-latest
33+
arch: x86
34+
steps:
35+
- uses: actions/checkout@v2
36+
- uses: julia-actions/setup-julia@v1
37+
with:
38+
version: ${{ matrix.version }}
39+
arch: ${{ matrix.arch }}
40+
- uses: actions/cache@v1
41+
env:
42+
cache-name: cache-artifacts
43+
with:
44+
path: ~/.julia/artifacts
45+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
46+
restore-keys: |
47+
${{ runner.os }}-test-${{ env.cache-name }}-
48+
${{ runner.os }}-test-
49+
${{ runner.os }}-
50+
- uses: julia-actions/julia-buildpkg@v1
51+
- uses: julia-actions/julia-runtest@v1
52+
- uses: julia-actions/julia-processcoverage@v1
53+
- uses: codecov/codecov-action@v2
54+
with:
55+
files: lcov.info

.github/workflows/CompatHelper.yml

+16
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

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
jobs:
8+
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: JuliaRegistries/TagBot@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/register.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Register Package
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
version:
6+
description: Version to register or component to bump
7+
required: true
8+
jobs:
9+
register:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: julia-actions/RegisterAction@latest
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.jl.*.cov
2+
*.jl.cov
3+
*.jl.mem

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test:1.0:
1010

1111
test:1.3:
1212
extends:
13-
- .julia:1.0
13+
- .julia:1.3
1414
- .julia.test.basic
1515

1616
test:1.6:

LICENSE

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
MIT License
2+
13
Copyright (c) 2018 IHP Systems A/S
24

35
Permission is hereby granted, free of charge, to any person obtaining a copy

Project.toml

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ uuid = "76a96b56-f16f-11e8-3761-3967fdcf98d3"
33
authors = ["IHP Systems R&D <[email protected]>"]
44
version = "0.3.0"
55

6+
[compat]
7+
julia = "1"
8+
69
[extras]
710
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
811

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# ObjectDetectors
22

3+
[![Build Status](https://github.com/IHPSystems/ObjectDetectors.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/IHPSystems/ObjectDetectors.jl/actions/workflows/CI.yml?query=branch%3Amain)
4+
[![Coverage](https://codecov.io/gh/IHPSystems/ObjectDetectors.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/IHPSystems/ObjectDetectors.jl)
5+
[![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/invenia/BlueStyle)

test/runtests.jl

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
using Test
22

3-
include("DummyObjectDetectorTests.jl")
4-
include("StaticObjectDetectorTests.jl")
3+
@testset "ObjectDetectors" begin
4+
include("DummyObjectDetectorTests.jl")
5+
include("StaticObjectDetectorTests.jl")
6+
end

0 commit comments

Comments
 (0)