From e19c58468cdc8e2de8c528088ed4b77d26919444 Mon Sep 17 00:00:00 2001 From: Ivet Galabova Date: Mon, 5 May 2025 09:56:36 +0300 Subject: [PATCH 1/9] source workflow --- .github/workflows/dispatch.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/dispatch.yml diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml new file mode 100644 index 0000000000..5e8c0a097a --- /dev/null +++ b/.github/workflows/dispatch.yml @@ -0,0 +1,21 @@ +name: Source Workflow +on: + workflow_dispatch: + push: + branches: + - '*' + +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: trigger the automated test in another repo + uses: peter-evans/repository-dispatch@v3 + with: + token: '${{ secrets.PAT }}' + repository: ERGO-Code/highs-tests + event-type: Integration-with-Automation + - name: my-step + run: 'echo ${{ github.actor }} Hello !' \ No newline at end of file From 5c065dd6b95bbfb2ab18da0b3a245eea66408c2c Mon Sep 17 00:00:00 2001 From: Ivet Galabova Date: Mon, 5 May 2025 10:05:11 +0300 Subject: [PATCH 2/9] dispatch test --- .github/workflows/dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 5e8c0a097a..95430a9938 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -18,4 +18,4 @@ jobs: repository: ERGO-Code/highs-tests event-type: Integration-with-Automation - name: my-step - run: 'echo ${{ github.actor }} Hello !' \ No newline at end of file + run: 'echo ${{ github.actor }} Hello 2!' \ No newline at end of file From 3120ffa213525b0e56bfe6b3cb46bb5a72ea47da Mon Sep 17 00:00:00 2001 From: Ivet Galabova Date: Mon, 5 May 2025 10:14:22 +0300 Subject: [PATCH 3/9] added secret --- .github/workflows/dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 95430a9938..358bed905c 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -14,7 +14,7 @@ jobs: - name: trigger the automated test in another repo uses: peter-evans/repository-dispatch@v3 with: - token: '${{ secrets.PAT }}' + token: '${{ secrets.AT }}' repository: ERGO-Code/highs-tests event-type: Integration-with-Automation - name: my-step From b0c2d11913b95a49feef2890074deb790adfadcb Mon Sep 17 00:00:00 2001 From: Ivet Galabova Date: Mon, 5 May 2025 10:34:32 +0300 Subject: [PATCH 4/9] merged target in main --- .github/workflows/dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 358bed905c..a06a99fdc3 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -18,4 +18,4 @@ jobs: repository: ERGO-Code/highs-tests event-type: Integration-with-Automation - name: my-step - run: 'echo ${{ github.actor }} Hello 2!' \ No newline at end of file + run: 'echo ${{ github.actor }} Hello 3!' \ No newline at end of file From cec0adef856c6dcecaa4f2c8e0bbb5657dc4b6c1 Mon Sep 17 00:00:00 2001 From: Ivet Galabova Date: Wed, 14 May 2025 16:11:14 +0300 Subject: [PATCH 5/9] dispatch on PR --- .github/workflows/dispatch.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index a06a99fdc3..9920a5917e 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -1,11 +1,14 @@ name: Source Workflow on: workflow_dispatch: - push: + # push: + # branches: + # - '*' + pull_request: branches: - '*' -run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 jobs: trigger: @@ -18,4 +21,4 @@ jobs: repository: ERGO-Code/highs-tests event-type: Integration-with-Automation - name: my-step - run: 'echo ${{ github.actor }} Hello 3!' \ No newline at end of file + run: 'echo ${{ github.actor }} Hello automations!' \ No newline at end of file From 35e1046637f734ec2adfb9e28d5a570925e17f26 Mon Sep 17 00:00:00 2001 From: Ivet Galabova Date: Wed, 11 Feb 2026 17:20:58 +0200 Subject: [PATCH 6/9] enable bazel san after data race bug fix --- .github/workflows/sanitizers-bazel.yml | 31 +++++++++++++------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/sanitizers-bazel.yml b/.github/workflows/sanitizers-bazel.yml index 70770dc8cd..93ec5d345c 100644 --- a/.github/workflows/sanitizers-bazel.yml +++ b/.github/workflows/sanitizers-bazel.yml @@ -1,7 +1,6 @@ name: sanitizers-bazel -#on: [push, pull_request] -on: [] +on: [push, pull_request] jobs: asan: @@ -17,12 +16,12 @@ jobs: - name: Bazel clean run: bazel clean - + - name: Bazel build run: bazel build -c dbg --config=asan //... - + - name: Bazel test - run: bazel test -c dbg --config=asan --runs_per_test 100 //... + run: bazel test -c dbg --config=asan --runs_per_test 3000 //... - name: Upload bazel-testlogs uses: actions/upload-artifact@v4 @@ -43,19 +42,19 @@ jobs: - name: Bazel clean run: bazel clean - + - name: Bazel build run: bazel build -c dbg --config=tsan //... - + - name: Bazel test - run: bazel test -c dbg --config=tsan --runs_per_test 100 //... + run: bazel test -c dbg --config=tsan --runs_per_test 3000 //... - name: Upload bazel-testlogs uses: actions/upload-artifact@v4 with: name: bazel-testlogs-tsan path: bazel-testlogs/ - + lsan: runs-on: ${{ matrix.os }} strategy: @@ -69,19 +68,19 @@ jobs: - name: Bazel clean run: bazel clean - + - name: Bazel build run: bazel build -c dbg --config=lsan //... - + - name: Bazel test - run: bazel test -c dbg --config=lsan --runs_per_test 100 //... + run: bazel test -c dbg --config=lsan --runs_per_test 3000 //... - name: Upload bazel-testlogs uses: actions/upload-artifact@v4 with: name: bazel-testlogs-lsan path: bazel-testlogs/ - + ubsan: runs-on: ${{ matrix.os }} strategy: @@ -95,12 +94,12 @@ jobs: - name: Bazel clean run: bazel clean - + - name: Bazel build run: bazel build -c dbg --config=ubsan //... - + - name: Bazel test - run: bazel test -c dbg --config=ubsan --runs_per_test 100 //... + run: bazel test -c dbg --config=ubsan --runs_per_test 3000 //... - name: Upload bazel-testlogs uses: actions/upload-artifact@v4 From 5ebcae09d1c835da4c88cebba78d4255f6e9a7e7 Mon Sep 17 00:00:00 2001 From: Ivet Galabova Date: Wed, 11 Feb 2026 18:23:08 +0200 Subject: [PATCH 7/9] dispatch --- .github/workflows/action-dispatch.yml | 41 +++++++++++++++++++++++++++ .github/workflows/dispatch.yml | 24 ---------------- 2 files changed, 41 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/action-dispatch.yml delete mode 100644 .github/workflows/dispatch.yml diff --git a/.github/workflows/action-dispatch.yml b/.github/workflows/action-dispatch.yml new file mode 100644 index 0000000000..83e9699310 --- /dev/null +++ b/.github/workflows/action-dispatch.yml @@ -0,0 +1,41 @@ +name: action-dispatch + +on: + workflow_dispatch: + # push: + # branches: + # - '*' + # pull_request: + # branches: + # - '*' + +run-name: ${{ github.actor }} is testing out Actions 🚀 + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: Generate token from GitHub App + id: generate-token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} + owner: ERGO-Code + repositories: tests + + - name: Trigger the automated test in another repo + uses: peter-evans/repository-dispatch@v4 + with: + token: ${{ steps.generate-token.outputs.token }} + repository: ERGO-Code/tests + event-type: highs-mip-tests + client-payload: | + { + "repository": "${{ github.repository }}", + "ref": "${{ github.ref }}", + "sha": "${{ github.sha }}" + } + + - name: my-step + run: echo "${{ github.actor }} Hello automations!" \ No newline at end of file diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml deleted file mode 100644 index 9920a5917e..0000000000 --- a/.github/workflows/dispatch.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Source Workflow -on: - workflow_dispatch: - # push: - # branches: - # - '*' - pull_request: - branches: - - '*' - -run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 - -jobs: - trigger: - runs-on: ubuntu-latest - steps: - - name: trigger the automated test in another repo - uses: peter-evans/repository-dispatch@v3 - with: - token: '${{ secrets.AT }}' - repository: ERGO-Code/highs-tests - event-type: Integration-with-Automation - - name: my-step - run: 'echo ${{ github.actor }} Hello automations!' \ No newline at end of file From 364aae40bc86e0e964d6de23938750c7c49e6c06 Mon Sep 17 00:00:00 2001 From: Ivet Galabova Date: Wed, 11 Feb 2026 19:02:53 +0200 Subject: [PATCH 8/9] tests macos --- .github/workflows/build-macos.yml | 2 +- .github/workflows/build-nuget-package.yml | 2 +- .github/workflows/build-python-sdist.yml | 2 +- .github/workflows/cmake-macos-cpp.yml | 2 +- .github/workflows/release-cpack.yml | 5 +-- .github/workflows/sanitizers-bazel.yml | 42 +++++++++++------------ .github/workflows/test-fortran-macos.yml | 2 +- .github/workflows/test-nuget-macos.yml | 2 +- .github/workflows/test-python-macos.yml | 2 +- 9 files changed, 31 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index d22309a96e..f8d5a379c2 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -1,6 +1,6 @@ name: build-macos -on: [push, pull_request] +on: [pull_request] jobs: debug: diff --git a/.github/workflows/build-nuget-package.yml b/.github/workflows/build-nuget-package.yml index 908402b0cb..56230e5efd 100644 --- a/.github/workflows/build-nuget-package.yml +++ b/.github/workflows/build-nuget-package.yml @@ -1,6 +1,6 @@ name: build-nuget-package -on: [push, pull_request] +on: [pull_request] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/build-python-sdist.yml b/.github/workflows/build-python-sdist.yml index 914f46fe1c..b6cd041062 100644 --- a/.github/workflows/build-python-sdist.yml +++ b/.github/workflows/build-python-sdist.yml @@ -1,6 +1,6 @@ name: build-python-sdist -on: [push, pull_request] +on: [pull_request] jobs: build_sdist_ubuntu: diff --git a/.github/workflows/cmake-macos-cpp.yml b/.github/workflows/cmake-macos-cpp.yml index d44c26a9a4..af5c529ff8 100644 --- a/.github/workflows/cmake-macos-cpp.yml +++ b/.github/workflows/cmake-macos-cpp.yml @@ -1,6 +1,6 @@ name: cmake-macos-cpp -on: [push, pull_request] +on: [pull_request] jobs: release: diff --git a/.github/workflows/release-cpack.yml b/.github/workflows/release-cpack.yml index 12a679e8f8..f5c5b5aa59 100644 --- a/.github/workflows/release-cpack.yml +++ b/.github/workflows/release-cpack.yml @@ -2,8 +2,9 @@ name: release-cpack on: push: - # tags: - # - 'v*' + tags: + - 'v*' + pull_request: jobs: build-linux: diff --git a/.github/workflows/sanitizers-bazel.yml b/.github/workflows/sanitizers-bazel.yml index 93ec5d345c..b153b9763b 100644 --- a/.github/workflows/sanitizers-bazel.yml +++ b/.github/workflows/sanitizers-bazel.yml @@ -1,6 +1,6 @@ name: sanitizers-bazel -on: [push, pull_request] +on: workflow_dispatch jobs: asan: @@ -23,11 +23,11 @@ jobs: - name: Bazel test run: bazel test -c dbg --config=asan --runs_per_test 3000 //... - - name: Upload bazel-testlogs - uses: actions/upload-artifact@v4 - with: - name: bazel-testlogs-asan - path: bazel-testlogs/ + # - name: Upload bazel-testlogs + # uses: actions/upload-artifact@v4 + # with: + # name: bazel-testlogs-asan + # path: bazel-testlogs/ tsan: runs-on: ${{ matrix.os }} @@ -49,11 +49,11 @@ jobs: - name: Bazel test run: bazel test -c dbg --config=tsan --runs_per_test 3000 //... - - name: Upload bazel-testlogs - uses: actions/upload-artifact@v4 - with: - name: bazel-testlogs-tsan - path: bazel-testlogs/ + # - name: Upload bazel-testlogs + # uses: actions/upload-artifact@v4 + # with: + # name: bazel-testlogs-tsan + # path: bazel-testlogs/ lsan: runs-on: ${{ matrix.os }} @@ -75,11 +75,11 @@ jobs: - name: Bazel test run: bazel test -c dbg --config=lsan --runs_per_test 3000 //... - - name: Upload bazel-testlogs - uses: actions/upload-artifact@v4 - with: - name: bazel-testlogs-lsan - path: bazel-testlogs/ + # - name: Upload bazel-testlogs + # uses: actions/upload-artifact@v4 + # with: + # name: bazel-testlogs-lsan + # path: bazel-testlogs/ ubsan: runs-on: ${{ matrix.os }} @@ -101,8 +101,8 @@ jobs: - name: Bazel test run: bazel test -c dbg --config=ubsan --runs_per_test 3000 //... - - name: Upload bazel-testlogs - uses: actions/upload-artifact@v4 - with: - name: bazel-testlogs-ubsan - path: bazel-testlogs/ + # - name: Upload bazel-testlogs + # uses: actions/upload-artifact@v4 + # with: + # name: bazel-testlogs-ubsan + # path: bazel-testlogs/ diff --git a/.github/workflows/test-fortran-macos.yml b/.github/workflows/test-fortran-macos.yml index 3ecf6d8edb..d610a042e4 100644 --- a/.github/workflows/test-fortran-macos.yml +++ b/.github/workflows/test-fortran-macos.yml @@ -1,6 +1,6 @@ name: test-fortran-macos -on: [push, pull_request] +on: [pull_request] jobs: fast_build_release: diff --git a/.github/workflows/test-nuget-macos.yml b/.github/workflows/test-nuget-macos.yml index 68ab2cffc9..7ddce775f2 100644 --- a/.github/workflows/test-nuget-macos.yml +++ b/.github/workflows/test-nuget-macos.yml @@ -1,6 +1,6 @@ name: test-nuget-macos -on: [push, pull_request] +on: [pull_request] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/test-python-macos.yml b/.github/workflows/test-python-macos.yml index 568068149b..0e831a9f50 100644 --- a/.github/workflows/test-python-macos.yml +++ b/.github/workflows/test-python-macos.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [macos-latest] - python: [3.12, 3.14] + python: [3.14] steps: - uses: actions/checkout@v4 From 6d15c17519bf525f216db77a61bef85704075edc Mon Sep 17 00:00:00 2001 From: Ivet Galabova Date: Wed, 11 Feb 2026 20:49:40 +0200 Subject: [PATCH 9/9] bazel --- .../{sanitizers-bazel.yml => action-sanitizers-bazel.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{sanitizers-bazel.yml => action-sanitizers-bazel.yml} (98%) diff --git a/.github/workflows/sanitizers-bazel.yml b/.github/workflows/action-sanitizers-bazel.yml similarity index 98% rename from .github/workflows/sanitizers-bazel.yml rename to .github/workflows/action-sanitizers-bazel.yml index b153b9763b..e29a21624b 100644 --- a/.github/workflows/sanitizers-bazel.yml +++ b/.github/workflows/action-sanitizers-bazel.yml @@ -1,4 +1,4 @@ -name: sanitizers-bazel +name: action-sanitizers-bazel on: workflow_dispatch