Merge pull request #6 from haodeon/feat/0.6.0 #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ ubuntu-20.04, windows-2019, macos-latest ] | |
python-version: [ '3.7.9', '3.8.10', '3.9.13', '3.10.11', '3.11.5' ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Set up GoLang | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.18' | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install poetry pytest | |
run: | | |
python -m pip install poetry==1.1.13 pytest==7.0.1 | |
- name: Fetch terraform repository | |
run: | | |
git submodule init | |
git submodule update | |
- name: Build distributions | |
run: | | |
poetry build -f wheel -vvv | |
- name: Run tests | |
run: | | |
pytest |