Skip to content

Commit a6e2037

Browse files
committed
run macOS tests only on schedule
1 parent 25a2c01 commit a6e2037

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/integration-test.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ${{ matrix.runner }}
3131
strategy:
3232
matrix:
33-
runner: ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.runner-os && fromJSON(format('["{0}"]', github.event.inputs.runner-os))) || fromJSON('["ubuntu-latest", "macos-13"]') }}
33+
runner: ${{ if( github.event_name == 'schedule' || github.event_name == 'workflow_dispatch', ['ubuntu-latest', 'macos-13'], ['ubuntu-latest'] ) }}
3434
steps:
3535
- name: Checkout
3636
uses: actions/checkout@v4
@@ -41,17 +41,8 @@ jobs:
4141
with:
4242
python-version: 3.11
4343

44-
- name: Debug Runner Context (Ubuntu)
45-
if: runner.os == 'Linux' # Only run this debug step on Linux
46-
run: |
47-
echo "DEBUG: Runner OS is ${{ runner.os }}"
48-
echo "DEBUG: Event name is ${{ github.event_name }}"
49-
echo "DEBUG: Evaluating runner.os == 'macOS' -> ${{ runner.os == 'macOS' }}"
50-
echo "DEBUG: Evaluating github.event_name == 'schedule' -> ${{ github.event_name == 'schedule' }}"
51-
echo "DEBUG: Evaluating full condition -> ${{ runner.os == 'macOS' && github.event_name == 'schedule' }}"
52-
5344
- name: Docker setup (macos only)
54-
if: ${{ runner.os == 'macOS' && github.event_name == 'schedule' }}
45+
if: ${{ runner.os == 'macOS'
5546
run: |
5647
brew install colima
5748
brew install docker

0 commit comments

Comments
 (0)