Skip to content

Commit e8c5753

Browse files
committed
setup docker on macos
1 parent dcce5df commit e8c5753

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/integration-test.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,18 @@ on:
2222
type: choice
2323
options:
2424
- ubuntu-latest
25-
- macos-latest
25+
- macos-13
2626

2727

2828
jobs:
2929
run-it-tests-job:
3030
runs-on: ${{ matrix.runner }}
3131
strategy:
3232
matrix:
33-
runner:
34-
- ubuntu-latest
35-
- macos-latest
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"]') }}
3634
steps:
3735
- name: Checkout
38-
uses: actions/checkout@v2
36+
uses: actions/checkout@v4
3937

4038
- name: Set up Python 3.11
4139
id: setup-python
@@ -44,9 +42,9 @@ jobs:
4442
python-version: 3.11
4543

4644
- name: Docker setup (macos only)
47-
id: setup-docker-mac
48-
if: ${{ runner.os == 'macOS' }}
45+
if: ${{ runner.os == 'macOS' }} # && ${{ github.event_name == 'schedule' }}
4946
run: |
47+
brew install colima
5048
brew install docker
5149
colima start
5250

0 commit comments

Comments
 (0)