Skip to content

Commit

Permalink
migrated to gha (#45)
Browse files Browse the repository at this point in the history
* migrated to gha

* bump patch version
  • Loading branch information
lucaferranti authored Apr 27, 2021
1 parent 5f0c4d1 commit 3ec03cc
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 85 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.version == 'nightly' }}
strategy:
fail-fast: false
matrix:
version:
- '1.5'
- '1.6'
- 'nightly'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
- x86
exclude:
- os: macOS-latest
arch: x86
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
with:
file: lcov.info
15 changes: 15 additions & 0 deletions .github/workflows/CompactHelper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
7 changes: 5 additions & 2 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: TagBot
on:
schedule:
- cron: 0 * * * *
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
Expand Down
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name = "IntervalContractors"
uuid = "15111844-de3b-5229-b4ba-526f2f385dc9"
version = "0.4.2"
version = "0.4.3"

[deps]
IntervalArithmetic = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"

[compat]
IntervalArithmetic = "0.16.3"
IntervalArithmetic = "0.16, 0.17, 0.18"
julia = "≥ 1.1"

[extras]
Expand Down
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
# IntervalContractors

[![travis badge][travis_badge]][travis_url]
[![appveyor badge][appveyor_badge]][appveyor_url]
[![CI status][gh_badge]][gh_url]
[![codecov badge][codecov_badge]][codecov_url]

## Documentation

- [**STABLE**][documenter_stable] — **most recently tagged version of the documentation.**
- [**LATEST**][documenter_latest] — *in-development version of the documentation.*

[travis_badge]: https://travis-ci.org/JuliaIntervals/IntervalContractors.jl.svg?branch=master
[travis_url]: https://travis-ci.org/JuliaIntervals/IntervalContractors.jl

[appveyor_badge]: https://ci.appveyor.com/api/projects/status/github/JuliaIntervals/IntervalContractors.jl?svg=true&branch=master
[appveyor_url]: https://ci.appveyor.com/project/JuliaIntervals/intervalcontractors-jl
[gh_badge]: https://github.com/JuliaIntervals/IntervalContractors.jl/workflows/CI/badge.svg
[gh_url]: https://github.com/JuliaIntervals/IntervalArithmetic.jl/actions/workflows/CI.yml

[codecov_badge]: http://codecov.io/github/JuliaIntervals/IntervalContractors.jl/coverage.svg?branch=master
[codecov_url]: http://codecov.io/github/JuliaIntervals/IntervalContractors.jl?branch=master

[documenter_stable]: https://juliaintervals.github.io/IntervalContractors.jl/stable
[documenter_latest]: https://juliaintervals.github.io/IntervalContractors.jl/latest

## About `IntervalContractors.jl`

Expand Down
43 changes: 0 additions & 43 deletions appveyor.yml

This file was deleted.

2 comments on commit 3ec03cc

@lucaferranti
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/35497

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.4.3 -m "<description of version>" 3ec03cc0603818b03c2d2b254ccbff2432d6bad3
git push origin v0.4.3

Please sign in to comment.