Skip to content

Commit 6519ab5

Browse files
authored
CI: Combine the tests and the docs into a single CI workflow (#775)
1 parent 027fb6b commit 6519ab5

File tree

2 files changed

+15
-22
lines changed

2 files changed

+15
-22
lines changed

.github/workflows/test.yml renamed to .github/workflows/ci.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run tests
1+
name: CI
22
on:
33
pull_request:
44
branches:
@@ -57,3 +57,17 @@ jobs:
5757
- uses: codecov/codecov-action@v3
5858
with:
5959
file: lcov.info
60+
docs:
61+
runs-on: ubuntu-latest
62+
timeout-minutes: 30
63+
steps:
64+
- uses: actions/checkout@v2
65+
- uses: julia-actions/setup-julia@latest
66+
with:
67+
version: '1'
68+
- name: Build and deploy docs
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
71+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
72+
run: julia --project=docs/ -e 'using Pkg; Pkg.instantiate(); include("docs/make.jl")'
73+

.github/workflows/documenter-workflow.yml

-21
This file was deleted.

0 commit comments

Comments
 (0)