-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (59 loc) · 1.62 KB
/
acceptance_tests.yml
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
53
54
55
56
57
58
59
---
name: Acceptance tests
on:
push:
branches:
- main
tags-ignore:
- '**'
pull_request:
jobs:
acceptance-tests:
name: Acceptance tests (${{ matrix.os }}, Helm ${{ matrix.helm_version }}, Python ${{ matrix.python_version }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
helm_version:
- '3.10.0'
- '3.11.0'
- '3.12.0'
- '3.13.0'
- '3.14.0'
- '3.15.0'
os:
- ubuntu-latest
- macos-latest
- windows-latest
python_version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- if: matrix.os == 'windows-latest'
run: git config --global core.autocrlf input
- name: Checkout
uses: actions/checkout@v4
- if: matrix.os == 'windows-latest'
name: Install Cygwin
uses: cygwin/cygwin-install-action@v4
with:
packages: curl,unzip
- name: Install Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- name: Install Tox
run: pip install tox
- name: Install Helm ${{ matrix.helm_version }}
uses: azure/[email protected]
with:
version: ${{ matrix.helm_version }}
- name: Install ShellSpec
uses: ./.github/actions/shellspec
with:
shell: ${{ matrix.os == 'windows-latest' && 'sh -o igncr -e {0}' || 'sh' }}
- name: Run acceptance tests
run: tox -e py${{ matrix.python_version }} -e acceptance