diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fd5c22a..9e74280 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,10 +6,12 @@ on: - main tags: '*' pull_request: + types: [labeled, synchronize, opened, reopened] jobs: # Job pour les runners GitHub hosted (ubuntu, windows, macos) test-cpu-github: + if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run ci cpu') uses: control-toolbox/CTActions/.github/workflows/ci.yml@main with: runs_on: '["ubuntu-latest", "macos-latest"]' @@ -20,6 +22,7 @@ jobs: # Job pour le runner self-hosted kkt (GPU/CUDA) test-gpu-kkt: + if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run ci gpu') uses: control-toolbox/CTActions/.github/workflows/ci.yml@main with: versions: '["1"]' diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 08e9257..928f404 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -6,9 +6,11 @@ on: - main tags: '*' pull_request: + types: [labeled, synchronize, opened, reopened] jobs: call: + if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run documentation') uses: control-toolbox/CTActions/.github/workflows/documentation.yml@main with: use_ct_registry: true diff --git a/Project.toml b/Project.toml index 82fb226..8fc5bc6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "CTSolvers" uuid = "d3e8d392-8e4b-4d9b-8e92-d7d4e3650ef6" -version = "0.4.15" +version = "0.4.16" authors = ["Olivier Cots "] [deps] @@ -41,7 +41,7 @@ ADNLPModels = "0.8" Aqua = "0.8" BenchmarkTools = "1" CTBase = "0.18" -CTModels = "0.9, 0.10" +CTModels = "0.10" CUDA = "5, 6" CommonSolve = "0.2" DocStringExtensions = "0.9"