Bump poethepoet from 0.30.0 to 0.31.1 in /src #2686
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: Python Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
name: Python Windows Test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest] | |
python: ["3.12"] | |
experimental: [false] | |
continue-on-error: ${{ matrix.experimental }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@master | |
- name: Install Poetry | |
run: | | |
pipx install "poetry>=1.7.0" | |
- name: Set up Python ${{ matrix.python }} | |
id: pysetup | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
cache: "poetry" | |
- name: Install package and dependencies, then run tests | |
run: | | |
cd src | |
poetry env use '${{ steps.pysetup.outputs.python-path }}' | |
poetry install | |
- name: Run Tests | |
run: | | |
cd src | |
poetry run python -m unittest discover "tests" -p '*_test.py' |