Skip to content
41 changes: 41 additions & 0 deletions .github/workflows/action-dispatch.yml
Original file line number Diff line number Diff line change
@@ -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!"
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: sanitizers-bazel
name: action-sanitizers-bazel

#on: [push, pull_request]
on: []
on: workflow_dispatch

jobs:
asan:
Expand All @@ -17,18 +16,18 @@ 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
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 }}
Expand All @@ -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 //...

- name: Upload bazel-testlogs
uses: actions/upload-artifact@v4
with:
name: bazel-testlogs-tsan
path: bazel-testlogs/
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:
Expand All @@ -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 //...

- name: Upload bazel-testlogs
uses: actions/upload-artifact@v4
with:
name: bazel-testlogs-lsan
path: bazel-testlogs/
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:
Expand All @@ -95,15 +94,15 @@ 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
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/
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: build-macos

on: [push, pull_request]
on: [pull_request]

jobs:
debug:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-nuget-package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: build-nuget-package

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-python-sdist.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: build-python-sdist

on: [push, pull_request]
on: [pull_request]

jobs:
build_sdist_ubuntu:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake-macos-cpp.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cmake-macos-cpp

on: [push, pull_request]
on: [pull_request]

jobs:
release:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-cpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: release-cpack

on:
push:
# tags:
# - 'v*'
tags:
- 'v*'
pull_request:

jobs:
build-linux:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-fortran-macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: test-fortran-macos

on: [push, pull_request]
on: [pull_request]

jobs:
fast_build_release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-nuget-macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: test-nuget-macos

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [macos-latest]
python: [3.12, 3.14]
python: [3.14]

steps:
- uses: actions/checkout@v4
Expand Down
Loading