Skip to content

Commit

Permalink
Merge pull request #197 from JuliaReach/schillic/revise
Browse files Browse the repository at this point in the history
Revise scripts
  • Loading branch information
schillic committed Nov 25, 2021
2 parents 52043af + bec10f2 commit 69d1351
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ name: CompatHelper
on:
schedule:
- cron: '00 00 * * *'
workflow_dispatch:

jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- uses: julia-actions/setup-julia@latest
with:
version: 1.5
version: 1.6
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
26 changes: 24 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,17 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version: ['1.0', '1.6']
julia-version: ['1.6']
julia-arch: [x64]
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
include:
- julia-version: '1.0' # test on oldest supported version
julia-arch: x64
os: ubuntu-latest
# - julia-version: 'nightly' # test on latest version
# julia-arch: x64
# os: ubuntu-latest
# experimental: true
env:
JULIA_PKG_SERVER: ''
steps:
Expand All @@ -32,6 +40,20 @@ jobs:
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: Install dependencies
run: |
julia --project --color=yes -e 'using Pkg;
VERSION >= v"1.1" && Pkg.build(verbose=true);
VERSION < v"1.1" && Pkg.build()'
shell: bash
- name: Build
run: |
julia --project --color=yes --check-bounds=yes -e 'using Pkg;
Pkg.test(coverage=true);
Pkg.add("Coverage");
using Coverage;
Codecov.submit(process_folder())'
shell: bash
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,23 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
JULIA_PKG_SERVER: ''
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Julia
uses: julia-actions/setup-julia@latest
with:
version: '1.6'
version: 1.6
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
run: |
julia --project=docs/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
GKSwstype: nul # fix for Plots with GR backend
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # authentication with SSH deploy key
run: julia --project=docs/ docs/make.jl
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[compat]
IntervalArithmetic = "0.15, 0.16, 0.17, 0.18, 0.19, 0.20"
Reexport = "0.2, 1.0"
Reexport = "0.2, 1"
julia = "1"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IntervalMatrices.jl

[![Build Status](https://travis-ci.org/JuliaReach/IntervalMatrices.jl.svg?branch=master)](https://travis-ci.org/JuliaReach/IntervalMatrices.jl)
[![Build Status](https://github.com/JuliaReach/IntervalMatrices.jl/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/JuliaReach/IntervalMatrices.jl/actions/workflows/ci.yml?query=branch%3Amaster)
[![Docs latest](https://img.shields.io/badge/docs-latest-blue.svg)](http://juliareach.github.io/IntervalMatrices.jl/dev/)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/JuliaReach/IntervalMatrices.jl/blob/master/LICENSE)
[![Code coverage](http://codecov.io/github/JuliaReach/IntervalMatrices.jl/coverage.svg?branch=master)](https://codecov.io/github/JuliaReach/IntervalMatrices.jl?branch=master)
Expand Down
3 changes: 0 additions & 3 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "0.26"

0 comments on commit 69d1351

Please sign in to comment.