-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test docs and integrations with new downgrade CI (#177)
* Use new julia-actions version of action * Also downgrade docs deps * Downgrade weak dependencies also * Skip Pathfinder downgrade for docs build * Fix docs downgrade and test * Fix uses of action * Hide documenter key when building docs with old Julia versions * Test docs for v1.7
- Loading branch information
Showing
2 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ jobs: | |
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
- uses: julia-actions/cache@v1 | ||
- uses: cjdoris/julia-downgrade-compat-action@v1 | ||
- uses: julia-actions/julia-downgrade-compat@v1 | ||
with: | ||
skip: LinearAlgebra,Random,Statistics | ||
if: ${{ matrix.downgrade }} | ||
|
@@ -59,17 +59,30 @@ jobs: | |
files: lcov.info | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
docs: | ||
name: Documentation | ||
name: ${{ matrix.downgrade && 'Downgrade / ' || '' }}Documentation - Julia ${{ matrix.version }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- version: '1' | ||
downgrade: false | ||
- version: '1.7' | ||
downgrade: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: '1' | ||
version: ${{ matrix.version }} | ||
- uses: julia-actions/[email protected] | ||
with: | ||
skip: LinearAlgebra,Pathfinder,Random,Statistics | ||
projects: ., docs | ||
if: matrix.downgrade | ||
name: Downgrade dependencies to oldest supported versions | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-docdeploy@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | ||
DOCUMENTER_KEY: ${{ matrix.version == '1' && secrets.DOCUMENTER_KEY || '' }} | ||
GKSwstype: "100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters