-
-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (45 loc) · 1.14 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Test
on:
push:
branches: [ main, "releases/v*"]
pull_request:
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
version: [ "latest", "1.67.0" ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Exoscale CLI
uses: ./
with:
version: ${{ matrix.version }}
- name: Test the CLI
run: exo version
test-authenticated:
name: Test Authenticated
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
version: [ "latest", "1.67.0" ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Exoscale CLI
uses: ./
with:
zone: ch-gva-2
version: ${{ matrix.version }}
account: ${{ secrets.EXOSCALE_ACCOUNT }}
key: ${{ secrets.EXOSCALE_KEY }}
secret: ${{ secrets.EXOSCALE_SECRET }}
- name: Test the CLI
run: exo config list