Skip to content

Commit fc53599

Browse files
committed
move Test to test dependencies, switch from Travis to GitHub Actions
1 parent 73a1031 commit fc53599

File tree

3 files changed

+43
-11
lines changed

3 files changed

+43
-11
lines changed

.github/workflows/ci.yml

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

.travis.yml

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

Project.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ uuid = "5888135b-5456-5c80-a1b6-c91ef8180460"
33
authors = ["Simon Byrne <[email protected]>"]
44
version = "0.3.0"
55

6-
[deps]
6+
[extras]
77
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
8+
9+
[targets]
10+
test = ["Test"]

0 commit comments

Comments
 (0)