Skip to content

Commit

Permalink
CI: Combine the tests and the docs into a single CI workflow (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Jan 28, 2023
1 parent 027fb6b commit 6519ab5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 22 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/test.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run tests
name: CI
on:
pull_request:
branches:
Expand Down Expand Up @@ -57,3 +57,17 @@ jobs:
- uses: codecov/codecov-action@v3
with:
file: lcov.info
docs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- name: Build and deploy docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
run: julia --project=docs/ -e 'using Pkg; Pkg.instantiate(); include("docs/make.jl")'

21 changes: 0 additions & 21 deletions .github/workflows/documenter-workflow.yml

This file was deleted.

0 comments on commit 6519ab5

Please sign in to comment.