Skip to content

Commit 9fb1cb0

Browse files
author
Feras A. Saad
committed
Draft Github CI integrations
Related #483
1 parent bcf3504 commit 9fb1cb0

File tree

3 files changed

+62
-20
lines changed

3 files changed

+62
-20
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Adapted from
2+
# https://github.com/marketplace/actions/run-julia-package-tests
3+
4+
name: ContinuousIntegration
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
ContinuousIntegration:
14+
runs-on: ${{ matrix.os }}
15+
strategy:
16+
matrix:
17+
julia-version: ['1.3', 'nightly']
18+
julia-arch: [x86]
19+
os: [ubuntu-latest]
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: julia-actions/setup-julia@v1
23+
with:
24+
version: ${{ matrix.julia-version }}
25+
arch: ${{ matrix.julia-arch }}
26+
show-versioninfo: true
27+
- uses: julia-actions/julia-buildpkg@v1
28+
- uses: julia-actions/julia-runtest@v1
29+
with:
30+
annotate: true

.github/workflows/Documentation.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Adapted from
2+
# https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#GitHub-Actions
3+
#
4+
# TODO: Do we need to install TagBot.yml for documenting tagged versions?
5+
# See discussion in the above URL regarding permissions for tagged release.
6+
7+
name: Documentation
8+
9+
on:
10+
push:
11+
branches:
12+
- master
13+
tags: '*'
14+
pull_request:
15+
16+
jobs:
17+
Documentation:
18+
permissions:
19+
contents: write
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: julia-actions/setup-julia@v1
24+
with:
25+
version: '1.6'
26+
- name: Install dependencies
27+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
28+
- name: Build and deploy documentation
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
32+
run: julia --project=docs/ docs/make.jl

.travis.yml

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

0 commit comments

Comments
 (0)