From 235c9681ab8c2ac8f39bfa2653e081c6fc00a97d Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Fri, 27 Jan 2023 21:08:19 -0500 Subject: [PATCH 1/3] CI: Combine the tests and the docs into a single CI workflow --- .github/workflows/{test.yml => ci.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{test.yml => ci.yml} (98%) diff --git a/.github/workflows/test.yml b/.github/workflows/ci.yml similarity index 98% rename from .github/workflows/test.yml rename to .github/workflows/ci.yml index e8db25a5..a44991d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Run tests +name: CI on: pull_request: branches: From 7667fd97b845e1c93e8076e4a7064a3946b53526 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Fri, 27 Jan 2023 21:09:43 -0500 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a44991d1..e7027490 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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")' + From a792d3b36cc07545743e338e5ffde133442d98b2 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Fri, 27 Jan 2023 21:09:55 -0500 Subject: [PATCH 3/3] Delete documenter-workflow.yml --- .github/workflows/documenter-workflow.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/documenter-workflow.yml diff --git a/.github/workflows/documenter-workflow.yml b/.github/workflows/documenter-workflow.yml deleted file mode 100644 index 7115c7be..00000000 --- a/.github/workflows/documenter-workflow.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Documentation -on: - push: - branches: - - master - tags: '*' - pull_request: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@latest - with: - version: '1' - - name: Build and deploy - 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")'