From 30a69a6e6f6e8ae7646fa3632f49f9f830d8f1a9 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 14:35:16 +0200 Subject: [PATCH 01/13] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5731e3..f49cf88 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # QuantizedSystemSolver [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://github.com/mongibellili/QuantizedSystemSolver) -[![Build Status](https://github.com/mongibellili/QuantizedSystemSolver/workflows/CI/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions) +#[![Build Status](https://github.com/mongibellili/QuantizedSystemSolver/workflows/CI/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions) [![Coverage](https://codecov.io/gh/mongibellili/QuantizedSystemSolver/branch/main/graph/badge.svg)](https://codecov.io/gh/mongibellili/QuantizedSystemSolver) [![Coverage](https://coveralls.io/repos/github/mongibellili/QuantizedSystemSolver/badge.svg?branch=main)](https://coveralls.io/github/mongibellili/QuantizedSystemSolver?branch=main) From 51748eba3cd4059017ca87f2c42aca7696cf0380 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 14:36:07 +0200 Subject: [PATCH 02/13] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f49cf88..2ed6f6e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # QuantizedSystemSolver [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://github.com/mongibellili/QuantizedSystemSolver) -#[![Build Status](https://github.com/mongibellili/QuantizedSystemSolver/workflows/CI/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions) + [![Coverage](https://codecov.io/gh/mongibellili/QuantizedSystemSolver/branch/main/graph/badge.svg)](https://codecov.io/gh/mongibellili/QuantizedSystemSolver) [![Coverage](https://coveralls.io/repos/github/mongibellili/QuantizedSystemSolver/badge.svg?branch=main)](https://coveralls.io/github/mongibellili/QuantizedSystemSolver?branch=main) +[![Build Status](https://github.com/mongibellili/QuantizedSystemSolver/workflows/CI/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions) From 23159691d3f057c4e8f72ad800f3e2f52c255463 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:05:00 +0200 Subject: [PATCH 03/13] Update CI.yml --- .github/workflows/CI.yml | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 11021b5..2544238 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,16 +1,10 @@ name: CI on: + pull_request: push: branches: - - main - tags: ['*'] - pull_request: - workflow_dispatch: -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} + - master + tags: '*' jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} @@ -20,7 +14,7 @@ jobs: matrix: version: - '1.6' - - '1.9' + - '1' os: - ubuntu-latest arch: @@ -31,13 +25,21 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 + - uses: actions/cache@v3 + env: + cache-name: cache-artifacts + with: + path: ~/.julia/artifacts + key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + restore-keys: | + ${{ runner.os }}-test-${{ env.cache-name }}- + ${{ runner.os }}-test- + ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: - files: lcov.info - - uses: julia-actions/julia-uploadcoveralls@v1 - env: - COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} + file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false From 68f0641bb93b494cc5c2e7868bf747411a70af66 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:06:07 +0200 Subject: [PATCH 04/13] Update documentation.yml --- .github/workflows/documentation.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e2dd6f7..fadeeaa 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -3,27 +3,27 @@ name: Documentation on: push: branches: - - master # update to match your development branch (master, main, dev, trunk, ...) + - 'master' tags: '*' pull_request: jobs: build: + name: Documentation permissions: contents: write - pull-requests: read statuses: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 + - uses: julia-actions/setup-julia@v1 with: - version: '1.6' + version: 1.6 - uses: julia-actions/cache@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 }} # If authenticating with GitHub Actions token + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key run: julia --project=docs/ docs/make.jl From 5958cc05f540c7db4093d6a5c3e0e6f56ec2fee0 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:07:09 +0200 Subject: [PATCH 05/13] Update CompatHelper.yml --- .github/workflows/CompatHelper.yml | 37 ++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index cba9134..0918161 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -3,14 +3,43 @@ on: schedule: - cron: 0 0 * * * workflow_dispatch: +permissions: + contents: write + pull-requests: write jobs: CompatHelper: runs-on: ubuntu-latest steps: - - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - - name: CompatHelper.main() + - name: Check if Julia is already available in the PATH + id: julia_in_path + run: which julia + continue-on-error: true + - name: Install Julia, but only if it is not already available in the PATH + uses: julia-actions/setup-julia@v1 + with: + version: '1' + arch: ${{ runner.arch }} + if: steps.julia_in_path.outcome != 'success' + - name: "Add the General registry via Git" + run: | + import Pkg + ENV["JULIA_PKG_SERVER"] = "" + Pkg.Registry.add("General") + shell: julia --color=yes {0} + - name: "Install CompatHelper" + run: | + import Pkg + name = "CompatHelper" + uuid = "aa819f21-2bde-4658-8897-bab36330d9b7" + version = "3" + Pkg.add(; name, uuid, version) + shell: julia --color=yes {0} + - name: "Run CompatHelper" + run: | + import CompatHelper + CompatHelper.main() + shell: julia --color=yes {0} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} - run: julia -e 'using CompatHelper; CompatHelper.main()' + # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} From 523210179b82e09e47ee54ef15af77c3bc28ca3d Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:08:07 +0200 Subject: [PATCH 06/13] Update TagBot.yml --- .github/workflows/TagBot.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 2bacdb8..b838c67 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,28 +1,14 @@ name: TagBot on: - issue_comment: + issue_comment: # THIS BIT IS NEW types: - created workflow_dispatch: - inputs: - lookback: - default: 3 -permissions: - actions: read - checks: read - contents: write - deployments: read - issues: read - discussions: read - packages: read - pages: read - pull-requests: read - repository-projects: read - security-events: read - statuses: read jobs: TagBot: + # THIS 'if' LINE IS NEW if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + # NOTHING BELOW HAS CHANGED runs-on: ubuntu-latest steps: - uses: JuliaRegistries/TagBot@v1 From 5f9b18cf059915943feac1fe6b591720753bb4c3 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:08:57 +0200 Subject: [PATCH 07/13] Update CI.yml --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2544238..acb662e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,7 +3,7 @@ on: pull_request: push: branches: - - master + - main tags: '*' jobs: test: From e59542bba0d9e1c7573c186915417ef72cd86891 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:09:42 +0200 Subject: [PATCH 08/13] Update documentation.yml --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index fadeeaa..d218a8b 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -3,7 +3,7 @@ name: Documentation on: push: branches: - - 'master' + - 'main' tags: '*' pull_request: From a22a6e10d4fb28b7cf0b89a88521927acbbaa142 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:16:22 +0200 Subject: [PATCH 09/13] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ed6f6e..fff0405 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # QuantizedSystemSolver [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://github.com/mongibellili/QuantizedSystemSolver) - +[![CI](https://github.com/mongibellili/QuantizedSystemSolver/actions/workflows/CI.yml/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions/workflows/CI.yml) [![Coverage](https://codecov.io/gh/mongibellili/QuantizedSystemSolver/branch/main/graph/badge.svg)](https://codecov.io/gh/mongibellili/QuantizedSystemSolver) [![Coverage](https://coveralls.io/repos/github/mongibellili/QuantizedSystemSolver/badge.svg?branch=main)](https://coveralls.io/github/mongibellili/QuantizedSystemSolver?branch=main) [![Build Status](https://github.com/mongibellili/QuantizedSystemSolver/workflows/CI/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions) From f7d1195200a8f1981186b8d0edba1be12bb5271a Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:17:43 +0200 Subject: [PATCH 10/13] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index fff0405..264d5b6 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,3 @@ [![CI](https://github.com/mongibellili/QuantizedSystemSolver/actions/workflows/CI.yml/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions/workflows/CI.yml) [![Coverage](https://codecov.io/gh/mongibellili/QuantizedSystemSolver/branch/main/graph/badge.svg)](https://codecov.io/gh/mongibellili/QuantizedSystemSolver) [![Coverage](https://coveralls.io/repos/github/mongibellili/QuantizedSystemSolver/badge.svg?branch=main)](https://coveralls.io/github/mongibellili/QuantizedSystemSolver?branch=main) -[![Build Status](https://github.com/mongibellili/QuantizedSystemSolver/workflows/CI/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions) From 6b38a69591927edd3856f97bc8de036e19782238 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 16:29:43 +0200 Subject: [PATCH 11/13] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 264d5b6..5eebc7c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # QuantizedSystemSolver -[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://github.com/mongibellili/QuantizedSystemSolver) +[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)]([https://github.com/mongibellili/QuantizedSystemSolver](https://mongibellili.github.io./)) [![CI](https://github.com/mongibellili/QuantizedSystemSolver/actions/workflows/CI.yml/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions/workflows/CI.yml) [![Coverage](https://codecov.io/gh/mongibellili/QuantizedSystemSolver/branch/main/graph/badge.svg)](https://codecov.io/gh/mongibellili/QuantizedSystemSolver) [![Coverage](https://coveralls.io/repos/github/mongibellili/QuantizedSystemSolver/badge.svg?branch=main)](https://coveralls.io/github/mongibellili/QuantizedSystemSolver?branch=main) From 9c063257a70840c580b2844e19b664a38eafc8b7 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 16:34:48 +0200 Subject: [PATCH 12/13] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5eebc7c..0de97c4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # QuantizedSystemSolver -[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)]([https://github.com/mongibellili/QuantizedSystemSolver](https://mongibellili.github.io./)) +[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://mongibellili.github.io) [![CI](https://github.com/mongibellili/QuantizedSystemSolver/actions/workflows/CI.yml/badge.svg)](https://github.com/mongibellili/QuantizedSystemSolver/actions/workflows/CI.yml) [![Coverage](https://codecov.io/gh/mongibellili/QuantizedSystemSolver/branch/main/graph/badge.svg)](https://codecov.io/gh/mongibellili/QuantizedSystemSolver) [![Coverage](https://coveralls.io/repos/github/mongibellili/QuantizedSystemSolver/badge.svg?branch=main)](https://coveralls.io/github/mongibellili/QuantizedSystemSolver?branch=main) From 3b3a85de16eeb6bc47c891ad3077b3987f8ef1f6 Mon Sep 17 00:00:00 2001 From: Mongi Bellili <59377156+mongibellili@users.noreply.github.com> Date: Wed, 12 Jun 2024 16:35:55 +0200 Subject: [PATCH 13/13] Update make.jl --- docs/make.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index 07b2a0b..0df317b 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -3,5 +3,5 @@ using QuantizedSystemSolver makedocs(sitename="QuantizedSystemSolver") deploydocs( - repo = "https://github.com/mongibellili/QuantizedSystemSolver.git", -) \ No newline at end of file + repo = "https://mongibellili.github.io/", +)