Skip to content

Commit e864987

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

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/integration-test.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ on:
2727

2828
jobs:
2929
run-it-tests-job:
30-
runs-on: ${{ matrix.runner }}
31-
strategy:
32-
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"]') }}
30+
runs-on: ${{ inputs.runner-os || 'ubuntu-latest' }}
3431
steps:
3532
- name: Checkout
3633
uses: actions/checkout@v4
@@ -41,17 +38,8 @@ jobs:
4138
with:
4239
python-version: 3.11
4340

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-
5341
- name: Docker setup (macos only)
54-
if: ${{ runner.os == 'macOS' && github.event_name == 'schedule' }}
42+
if: ${{ runner.os == 'macOS' }}
5543
run: |
5644
brew install colima
5745
brew install docker

0 commit comments

Comments
 (0)