Update README.md #84
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: Poetry build | |
on: | |
push: | |
pull_request: | |
jobs: | |
poetry-build: | |
name: Build poetry dependencies | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.8', '3.9', '3.10.0'] | |
poetry-version: ['1.1.10', '1.1.13'] | |
os: [ubuntu-18.04, ubuntu-20.04, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set-up python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run image | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: Poetry update | |
run: poetry update | |
- name: Poetry install | |
run: poetry install | |
- name: Test with pytest | |
run: poetry run pytest |