From 8770e665d71283f4da6cca2b7d2be0c755a7d26d Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Fri, 14 May 2021 08:38:40 +0200 Subject: [PATCH] Fix documentation deployment. --- .github/workflows/TagBot.yml | 1 + .github/workflows/ci.yml | 23 ++++++----------------- test/testsuite.jl | 2 +- 3 files changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 778c06fe..f49313b6 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -12,3 +12,4 @@ jobs: - uses: JuliaRegistries/TagBot@v1 with: token: ${{ secrets.GITHUB_TOKEN }} + ssh: ${{ secrets.DOCUMENTER_KEY }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c61a739..b1e772e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - x64 steps: - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} @@ -55,24 +55,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/setup-julia@latest with: version: '1.6' - - run: | - git config --global user.name name - git config --global user.email email - git config --global github.user username - - run: | - julia --project=docs -e ' - using Pkg - Pkg.develop(PackageSpec(path=pwd())) - Pkg.instantiate()' - - run: | - julia --project=docs -e ' - using Documenter: doctest - using GPUArrays - doctest(GPUArrays)' - - run: julia --project=docs docs/make.jl + - name: Install dependencies + run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' + - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} + run: julia --project=docs/ docs/make.jl diff --git a/test/testsuite.jl b/test/testsuite.jl index b4161fc7..d99bfa20 100644 --- a/test/testsuite.jl +++ b/test/testsuite.jl @@ -67,7 +67,7 @@ include("testsuite/indexing.jl") include("testsuite/io.jl") include("testsuite/base.jl") #include("testsuite/vector.jl") -include("testsuite/mapreduce.jl") +include("testsuite/reductions.jl") include("testsuite/broadcasting.jl") include("testsuite/linalg.jl") include("testsuite/math.jl")