Update pyproject.toml #326
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: Unit tests | |
on: | |
push: | |
branches: | |
- main | |
- b0.* | |
pull_request: | |
branches: | |
- main | |
- b0.* | |
jobs: | |
unittest: | |
name: Run unit tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, "3.10"] | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install and configure Poetry | |
run: python -m pip install -U pip setuptools poetry==1.3.2 | |
- run: poetry install | |
- run: poetry run poe tests_unit |