|
1 | | -name: Test Matrix |
2 | | - |
3 | | -on: [push] |
4 | | - |
5 | | -jobs: |
6 | | - build: |
7 | | - runs-on: ubuntu-latest |
8 | | - strategy: |
9 | | - fail-fast: false |
10 | | - matrix: |
11 | | - os: [ubuntu-latest, macos-latest, windows-latest] |
12 | | - python-version: [3.7] |
13 | | - splunk-version: [7.2, 7.3, 8.0] |
14 | | - |
15 | | - steps: |
16 | | - - uses: actions/checkout@v2 |
17 | | - with: |
18 | | - submodules: true |
19 | | - - name: Set up OS=${{ matrix.os }}::Python=${{ matrix.python-version }}::Splunk=${{ matrix.splunk-version }} |
20 | | - uses: actions/setup-python@v1 |
21 | | - with: |
22 | | - python-version: ${{ matrix.python-version }} |
23 | | - - name: Install dependencies |
24 | | - run: | |
25 | | - sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl git |
26 | | - curl https://pyenv.run | bash |
27 | | - export PATH="~/.pyenv/bin:$PATH" |
28 | | - eval "$(pyenv init -)" |
29 | | - pyenv install 3.7.8 |
30 | | - pyenv local 3.7.8 |
31 | | - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python |
32 | | - source ~/.poetry/env |
33 | | - - name: Test with pytest |
34 | | - run: | |
35 | | - export PATH="~/.pyenv/bin:$PATH" |
36 | | - eval "$(pyenv init -)" |
37 | | - source ~/.poetry/env |
38 | | - poetry install -E docker |
39 | | - poetry run pytest -v --splunk-version=${{ matrix.splunk-version }} -m docker |
| 1 | +#name: Test Matrix |
| 2 | +# |
| 3 | +#on: [push] |
| 4 | +# |
| 5 | +#jobs: |
| 6 | +# build: |
| 7 | +# runs-on: ubuntu-latest |
| 8 | +# strategy: |
| 9 | +# fail-fast: false |
| 10 | +# matrix: |
| 11 | +# os: [ubuntu-latest, macos-latest, windows-latest] |
| 12 | +# python-version: [3.7] |
| 13 | +# splunk-version: [7.2, 7.3, 8.0] |
| 14 | +# |
| 15 | +# steps: |
| 16 | +# - uses: actions/checkout@v2 |
| 17 | +# with: |
| 18 | +# submodules: true |
| 19 | +# - name: Set up OS=${{ matrix.os }}::Python=${{ matrix.python-version }}::Splunk=${{ matrix.splunk-version }} |
| 20 | +# uses: actions/setup-python@v1 |
| 21 | +# with: |
| 22 | +# python-version: ${{ matrix.python-version }} |
| 23 | +# - name: Install dependencies |
| 24 | +# run: | |
| 25 | +# sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl git |
| 26 | +# curl https://pyenv.run | bash |
| 27 | +# export PATH="~/.pyenv/bin:$PATH" |
| 28 | +# eval "$(pyenv init -)" |
| 29 | +# pyenv install 3.7.8 |
| 30 | +# pyenv local 3.7.8 |
| 31 | +# curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python |
| 32 | +# source ~/.poetry/env |
| 33 | +# - name: Test with pytest |
| 34 | +# run: | |
| 35 | +# export PATH="~/.pyenv/bin:$PATH" |
| 36 | +# eval "$(pyenv init -)" |
| 37 | +# source ~/.poetry/env |
| 38 | +# poetry install -E docker |
| 39 | +# poetry run pytest -v --splunk-version=${{ matrix.splunk-version }} -m docker |
0 commit comments