From 30af29958fd412a3c71cf092adb9db92d0f8f12b Mon Sep 17 00:00:00 2001 From: Philippe Roy Date: Mon, 19 Jun 2023 11:36:30 -0400 Subject: [PATCH 1/8] Update Project.toml --- docs/Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 33ece105..6628d0ba 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -4,5 +4,5 @@ PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" [compat] -Documenter = "0.20, 0.21, 0.22, 0.23, 0.24" -PyCall = "1.91" +Documenter = "0.20, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27" +PyCall = "1" From 162f84a0eb8d7d3a201d704eddd15f584c2d75af Mon Sep 17 00:00:00 2001 From: Philippe Roy Date: Mon, 19 Jun 2023 11:39:22 -0400 Subject: [PATCH 2/8] Update docs.yml --- .github/workflows/docs.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index af15fa7a..f09b1458 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,14 +1,16 @@ name: Documentation + on: push: branches: - - master + - master # update to match your development branch (master, main, dev, trunk, ...) tags: '*' pull_request: jobs: - docs: - name: Documenter + build: + permissions: + contents: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -16,8 +18,13 @@ jobs: with: version: '1.6' - run: pip3 install scipy - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-docdeploy@releases/v1 + - 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 }} + 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/ docs/make.jl + + + - run: pip3 install scipy From 76434460f8ec807c6dd14e247b9b3c8e4d2f1368 Mon Sep 17 00:00:00 2001 From: Philippe Roy Date: Mon, 19 Jun 2023 11:46:53 -0400 Subject: [PATCH 3/8] Update docs.yml --- .github/workflows/docs.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f09b1458..ca8940f3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,5 +26,3 @@ jobs: DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key run: julia --project=docs/ docs/make.jl - - - run: pip3 install scipy From f62278d4e2bc0d42b404400bdef34b11723ccf94 Mon Sep 17 00:00:00 2001 From: Philippe Roy Date: Mon, 19 Jun 2023 11:48:28 -0400 Subject: [PATCH 4/8] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19cd784c..bfe423dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,7 @@ jobs: ${{ runner.os }}-test-${{ env.cache-name }}- ${{ runner.os }}-test- ${{ runner.os }}- + - run: pip3 install scipy - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 From 24ee03b3e6c57606bbe52a9e3154e303770bdbd3 Mon Sep 17 00:00:00 2001 From: Philippe Roy Date: Mon, 19 Jun 2023 11:49:25 -0400 Subject: [PATCH 5/8] Update ci-nightly.yml --- .github/workflows/ci-nightly.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-nightly.yml b/.github/workflows/ci-nightly.yml index e74c706c..2c759d02 100644 --- a/.github/workflows/ci-nightly.yml +++ b/.github/workflows/ci-nightly.yml @@ -38,5 +38,6 @@ jobs: ${{ runner.os }}-test-${{ env.cache-name }}- ${{ runner.os }}-test- ${{ runner.os }}- + - run: pip3 install scipy - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 From f285d4f636667846cebaddb9ab8530a85ba915cc Mon Sep 17 00:00:00 2001 From: Philippe Roy Date: Mon, 19 Jun 2023 12:02:35 -0400 Subject: [PATCH 6/8] Update ci.yml --- .github/workflows/ci.yml | 46 +++++++++++++++------------------------- 1 file changed, 17 insertions(+), 29 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfe423dd..be203de2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,12 +18,23 @@ jobs: - '1' os: - ubuntu-latest - - macos-latest - - windows-latest + - macos-latest arch: - x64 steps: - uses: actions/checkout@v2 + + - name: Display Python version + run: python -c "import sys; print(sys.version)" + + - name: Set ENV Variables for 🐍 📞 + run: echo ENV["PYTHON"] = "${{ env.pythonLocation }}/bin/python" >> $GITHUB_ENV + + - name: Install dependencies 🔧 + run: | + python -m pip install --upgrade pip + pip install scipy + - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} @@ -40,35 +51,12 @@ jobs: ${{ runner.os }}- - run: pip3 install scipy - uses: julia-actions/julia-buildpkg@v1 + env: + PYTHON : "${{ env.pythonLocation }}/bin/python" + - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v1 with: file: lcov.info -# docs: -# name: Documentation -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v2 -# - uses: julia-actions/setup-julia@v1 -# with: -# version: '1' -# - 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() -# Pkg.build()' -# - run: | -# julia --project=docs -e ' -# using Documenter: doctest -# using NCDatasets -# doctest(NCDatasets)' -# - run: julia --project=docs docs/make.jl -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} + From 76bb4509d4392af22840e57e5bbdd16b6497f660 Mon Sep 17 00:00:00 2001 From: Philippe Roy Date: Mon, 19 Jun 2023 13:42:57 -0400 Subject: [PATCH 7/8] Update ci.yml --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be203de2..511596f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,13 +16,18 @@ jobs: matrix: version: - '1' + python: [3.10] os: - ubuntu-latest - macos-latest arch: - x64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 + - name: Set up 🐍 ${{ matrix.python }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} - name: Display Python version run: python -c "import sys; print(sys.version)" @@ -48,8 +53,7 @@ jobs: restore-keys: | ${{ runner.os }}-test-${{ env.cache-name }}- ${{ runner.os }}-test- - ${{ runner.os }}- - - run: pip3 install scipy + ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 env: PYTHON : "${{ env.pythonLocation }}/bin/python" From 7b6e30ec5380365b6edfa9669c6dd8b020d3317f Mon Sep 17 00:00:00 2001 From: Philippe Roy Date: Mon, 19 Jun 2023 13:52:22 -0400 Subject: [PATCH 8/8] Update ci.yml --- .github/workflows/ci.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 511596f0..75d2af2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,19 +15,13 @@ jobs: fail-fast: false matrix: version: - - '1' - python: [3.10] + - '1' os: - - ubuntu-latest - - macos-latest + - ubuntu-latest arch: - x64 steps: - - uses: actions/checkout@v2 - - name: Set up 🐍 ${{ matrix.python }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python }} + - uses: actions/checkout@v2 - name: Display Python version run: python -c "import sys; print(sys.version)"