Skip to content

Commit b954ea2

Browse files
committed
Add tests for more GHA runner images
1 parent 42dc064 commit b954ea2

1 file changed

Lines changed: 37 additions & 21 deletions

File tree

.github/workflows/install.yml

Lines changed: 37 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
name: Test install.sh
22

3-
on: [push]
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
permissions:
10+
contents: read
411

512
jobs:
6-
ubuntu-bash:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- name: Checkout
10-
uses: actions/checkout@v1
11-
with:
12-
path: ./src/github.com/${{ github.repository }}
13-
- name: Install CLI
14-
shell: bash
15-
run: sudo ./scripts/install.sh --debug
16-
- name: Test CLI
17-
run: doppler --version
1813
ubuntu-sh:
1914
runs-on: ubuntu-latest
2015
steps:
@@ -127,30 +122,51 @@ jobs:
127122
run: sudo ./scripts/install.sh --debug --no-package-manager --install-path ./tmp
128123
- name: Test CLI
129124
run: ./tmp/doppler --version
130-
macOS:
125+
macOS-no-install:
131126
runs-on: macos-latest
132127
steps:
133128
- name: Checkout
134129
uses: actions/checkout@v1
135130
with:
136131
path: ./src/github.com/${{ github.repository }}
137132
- name: Install CLI
138-
run: ./scripts/install.sh --debug
133+
run: ./scripts/install.sh --debug --no-install
134+
- name: Verify file existence
135+
run: ls -l ./doppler
136+
ubuntu:
137+
strategy:
138+
matrix:
139+
os: [ubuntu-latest, ubuntu-24.04, ubuntu-22.04]
140+
runs-on: ${{ matrix.os }}
141+
steps:
142+
- name: Checkout
143+
uses: actions/checkout@v1
144+
with:
145+
path: ./src/github.com/${{ github.repository }}
146+
- name: Install CLI
147+
shell: bash
148+
run: sudo ./scripts/install.sh --debug
139149
- name: Test CLI
140150
run: doppler --version
141-
macOS-no-install:
142-
runs-on: macos-latest
151+
macOS:
152+
strategy:
153+
matrix:
154+
os: [macos-latest, macos-26, macos-26-intel, macos-15-intel, macos-15, macos-14-large, macos-14]
155+
runs-on: ${{ matrix.os }}
143156
steps:
144157
- name: Checkout
145158
uses: actions/checkout@v1
146159
with:
147160
path: ./src/github.com/${{ github.repository }}
148161
- name: Install CLI
149-
run: ./scripts/install.sh --debug --no-install
150-
- name: Verify file existence
151-
run: ls -l ./doppler
162+
run: ./scripts/install.sh --debug
163+
- name: Test CLI
164+
run: doppler --version
152165
windows:
153-
runs-on: windows-latest
166+
strategy:
167+
matrix:
168+
os: [windows-latest, windows-2025, windows-2022]
169+
runs-on: ${{ matrix.os }}
154170
steps:
155171
- name: Checkout
156172
uses: actions/checkout@v1

0 commit comments

Comments
 (0)