Skip to content

Commit cbc5ac6

Browse files
authored
Merge pull request #6 from JuliaString/spj/updateci
Use new GitHub CI
2 parents a0d0fba + 4db06e3 commit cbc5ac6

4 files changed

Lines changed: 47 additions & 41 deletions

File tree

‎.github/workflows/ci.yml‎

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

‎.travis.yml‎

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

‎README.md‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
[gitter-img]: https://badges.gitter.im/Join%20Chat.svg
1515
[gitter-url]: https://gitter.im/JuliaString/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
1616

17-
[travis-url]: https://travis-ci.org/JuliaString/ModuleInterfaceTools.jl
18-
[travis-s-img]: https://travis-ci.org/JuliaString/ModuleInterfaceTools.jl.svg
19-
[travis-m-img]: https://travis-ci.org/JuliaString/ModuleInterfaceTools.jl.svg?branch=master
17+
[ga-s-img]: https://img.shields.io/github/checks-status/JuliaString/ModuleInterfaceTools.jl
18+
[ga-m-img]: https://img.shields.io/github/checks-status/JuliaString/ModuleInterfaceTools.jl/master
2019

2120
[codecov-url]: https://codecov.io/gh/JuliaString/ModuleInterfaceTools.jl
2221
[codecov-img]: https://codecov.io/gh/JuliaString/ModuleInterfaceTools.jl/branch/master/graph/badge.svg
@@ -27,8 +26,8 @@
2726

2827
| **Julia Version** | **Unit Tests** | **Coverage** |
2928
|:------------------:|:------------------:|:---------------------:|
30-
| [![][julia-release]][julia-url] | [![][travis-s-img]][travis-url] | [![][codecov-img]][codecov-url]
31-
| Julia Latest | [![][travis-m-img]][travis-url] | [![][codecov-img]][codecov-url]
29+
| [![][julia-release]][julia-url] | [![][ga-s-img]][pkg-url] | [![][codecov-img]][codecov-url]
30+
| Julia Latest | [![][ga-m-img]][pkg-url] | [![][codecov-img]][codecov-url]
3231

3332
This provides a way of having different lists of names that you want to be part of a public API,
3433
as well as being part of a development API (i.e. functions that are not normally needed by users of a package, but *are* needed by a developer writing a package that depends on it).

‎test/REQUIRE‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)