|
6 | 6 | test:
|
7 | 7 | strategy:
|
8 | 8 | matrix:
|
9 |
| - os: [ ubuntu-20.04, windows-2019, macos-latest ] |
10 |
| - python-version: [ '3.7.9', '3.8.10', '3.9.13', '3.10.11', '3.11.5', '3.12.4' ] |
| 9 | + os: [ ubuntu-20.04, windows-2019, macos-12 ] |
| 10 | + python-version: [ '3.7.9', '3.8.10', '3.9.13', '3.10.11', '3.11.9', '3.12.4' ] |
11 | 11 | runs-on: ${{ matrix.os }}
|
12 | 12 | steps:
|
13 | 13 | - name: Check out repository code
|
|
22 | 22 | python-version: ${{ matrix.python-version }}
|
23 | 23 | - name: Install poetry pytest
|
24 | 24 | run: |
|
25 |
| - python -m pip install poetry==1.1.13 pytest==7.0.1 |
| 25 | + python -m pip install poetry pytest |
| 26 | + - name: Fetch terraform repository |
| 27 | + run: | |
| 28 | + git submodule init |
| 29 | + git submodule update |
| 30 | + - name: Build distributions |
| 31 | + run: | |
| 32 | + poetry build -f wheel -vvv |
| 33 | + - name: Run tests |
| 34 | + run: | |
| 35 | + pytest |
| 36 | + test-macos-arm64: |
| 37 | + strategy: |
| 38 | + matrix: |
| 39 | + os: [ macos-latest ] |
| 40 | + python-version: [ '3.8.10', '3.9.13', '3.10.11', '3.11.9', '3.12.4' ] |
| 41 | + runs-on: ${{ matrix.os }} |
| 42 | + steps: |
| 43 | + - name: Check out repository code |
| 44 | + uses: actions/checkout@v2 |
| 45 | + - name: Set up GoLang |
| 46 | + uses: actions/setup-go@v4 |
| 47 | + with: |
| 48 | + go-version: '^1.21.5' |
| 49 | + - name: Set up Python ${{ matrix.python-version }} |
| 50 | + uses: actions/setup-python@v2 |
| 51 | + with: |
| 52 | + python-version: ${{ matrix.python-version }} |
| 53 | + - name: Install poetry pytest |
| 54 | + run: | |
| 55 | + python -m pip install poetry pytest |
26 | 56 | - name: Fetch terraform repository
|
27 | 57 | run: |
|
28 | 58 | git submodule init
|
|
0 commit comments