Skip to content

Commit 52ff20d

Browse files
authored
Replace Cirrus with GitHub Actions for integration test (#193)
* Add ChainRules integration test action * Remove integration test with cirrus
1 parent f3800e0 commit 52ff20d

File tree

2 files changed

+30
-21
lines changed

2 files changed

+30
-21
lines changed

.cirrus.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: IntegrationTestChainRules
2+
on:
3+
push:
4+
branches: [master]
5+
tags: [v*]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
name: Julia v${{ matrix.julia-version }} - ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
julia-version: [1]
15+
os: [ubuntu-latest]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: julia-actions/setup-julia@v1
19+
with:
20+
version: ${{ matrix.julia-version }}
21+
arch: x64
22+
- uses: julia-actions/julia-buildpkg@latest
23+
- name: Clone ChainRules
24+
uses: actions/checkout@v2
25+
with:
26+
repository: JuliaDiff/ChainRules.jl
27+
path: "ChainRules.jl"
28+
- name: Run the tests
29+
run: julia --project="ChainRules.jl" -e "using Pkg; Pkg.develop(PackageSpec(path=\"./\")); Pkg.update(); Pkg.test()"
30+
shell: bash

0 commit comments

Comments
 (0)