-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (43 loc) · 1.06 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
48
49
50
51
52
name: Tests
on:
push:
branches:
- main
pull_request:
defaults:
run:
shell: bash
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
version: [0.6.0, latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup score-compose
uses: ./
with:
file: score-compose
version: ${{ matrix.version }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup score-humanitec
uses: ./
with:
file: score-humanitec
version: ${{ matrix.version }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup score-helm
uses: ./
with:
file: score-helm
version: ${{ matrix.version }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Verify installation
run: |
export SCORE_CS_VERSION=$( score-compose --version )
export SCORE_HT_VERSION=$( score-humanitec --version )
export SCORE_HM_VERSION=$( score-helm --version )