Skip to content

Commit 4fa653c

Browse files
authored
Merge pull request #97 from DilumAluthge/dpa/improve-ci
Various improvements to the CI configuration
2 parents d8ab214 + fb458cf commit 4fa653c

File tree

4 files changed

+49
-69
lines changed

4 files changed

+49
-69
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI (Julia nightly)
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
tags: '*'
10+
jobs:
11+
test-julia-nightly:
12+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
version:
18+
- 'nightly'
19+
os:
20+
- ubuntu-latest
21+
- windows-latest
22+
arch:
23+
- x64
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: julia-actions/setup-julia@v1
27+
with:
28+
version: ${{ matrix.version }}
29+
arch: ${{ matrix.arch }}
30+
- uses: actions/cache@v1
31+
env:
32+
cache-name: cache-artifacts
33+
with:
34+
path: ~/.julia/artifacts
35+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
36+
restore-keys: |
37+
${{ runner.os }}-test-${{ env.cache-name }}-
38+
${{ runner.os }}-test-
39+
${{ runner.os }}-
40+
- uses: julia-actions/julia-buildpkg@v1
41+
- uses: julia-actions/julia-runtest@v1
42+
- uses: julia-actions/julia-processcoverage@v1
43+
- uses: codecov/codecov-action@v1
44+
with:
45+
file: lcov.info

.github/workflows/ci.yml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
matrix:
1717
version:
1818
- '1.2'
19-
- '1'
20-
- 'nightly'
19+
- '1' # automatically expands to the latest stable 1.x release of Julia.
2120
os:
2221
- ubuntu-latest
22+
- windows-latest
2323
arch:
2424
- x64
2525
steps:
@@ -44,26 +44,3 @@ jobs:
4444
- uses: codecov/codecov-action@v1
4545
with:
4646
file: lcov.info
47-
docs:
48-
name: Documentation
49-
runs-on: ubuntu-latest
50-
steps:
51-
- uses: actions/checkout@v2
52-
- uses: julia-actions/setup-julia@v1
53-
with:
54-
version: '1'
55-
- run: |
56-
julia --project=docs -e '
57-
using Pkg
58-
Pkg.develop(PackageSpec(path=pwd()))
59-
Pkg.instantiate()'
60-
# - run: |
61-
# julia --project=docs -e '
62-
# using Documenter: doctest
63-
# using ArrayInterface
64-
# doctest(ArrayInterface)'
65-
# - run: julia --project=docs docs/make.jl
66-
env:
67-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
69-

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ArrayInterface.jl
22

3-
![CI](https://github.com/SciML/ArrayInterface.jl/workflows/CI/badge.svg)
4-
[![Build status](https://ci.appveyor.com/api/projects/status/s4vnsj386dyyv655?svg=true)](https://ci.appveyor.com/project/ChrisRackauckas/arrayinterface-jl)
3+
[![CI](https://github.com/SciML/ArrayInterface.jl/workflows/CI/badge.svg)](https://github.com/SciML/ArrayInterface.jl/actions?query=workflow%3ACI)
4+
[![CI (Julia nightly)](https://github.com/SciML/ArrayInterface.jl/workflows/CI%20(Julia%20nightly)/badge.svg)](https://github.com/SciML/ArrayInterface.jl/actions?query=workflow%3A%22CI+%28Julia+nightly%29%22)
55
[![codecov](https://codecov.io/gh/SciML/ArrayInterface.jl/branch/master/graph/badge.svg?token=Yfe2Qzk0JI)](https://codecov.io/gh/SciML/ArrayInterface.jl)
66

77
Julia has only recently reached v1.0 and the AbstractArray interface is still

appveyor.yml

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

0 commit comments

Comments
 (0)