Skip to content

Commit cc8a96e

Browse files
authored
Merge pull request #30 from ChevronETC/ci
update ci scripts
2 parents 485fa6d + dd56b89 commit cc8a96e

File tree

3 files changed

+52
-46
lines changed

3 files changed

+52
-46
lines changed

.github/workflows/Documentation.yml

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

.github/workflows/Tests.yml

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

.github/workflows/ci.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [master]
5+
tags: ["*"]
6+
pull_request:
7+
jobs:
8+
test:
9+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
version:
15+
- 1.6
16+
- 1 # automatically expands to the latest stable 1.x release of Julia
17+
os:
18+
- ubuntu-latest
19+
- macOS-latest
20+
- windows-latest
21+
arch:
22+
- x64
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: julia-actions/setup-julia@v1
26+
with:
27+
version: ${{ matrix.version }}
28+
arch: ${{ matrix.arch }}
29+
- uses: julia-actions/cache@v1
30+
- uses: julia-actions/julia-buildpkg@v1
31+
- uses: julia-actions/julia-runtest@v1
32+
- uses: julia-actions/julia-processcoverage@v1
33+
- uses: codecov/codecov-action@v1
34+
with:
35+
file: lcov.info
36+
docs:
37+
name: Documentation
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v2
41+
- uses: julia-actions/setup-julia@v1
42+
with:
43+
version: '1'
44+
- run: |
45+
julia --project=docs -e '
46+
using Pkg
47+
Pkg.develop(PackageSpec(path=pwd()))
48+
Pkg.instantiate()'
49+
- run: julia --project=docs docs/make.jl
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)