[pre-commit.ci] pre-commit autoupdate #167
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 CI | |
on: | |
pull_request: | |
jobs: | |
ci: | |
name: Run test ci on python ${{ matrix.py }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
py: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Setup python ${{ matrix.py }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.py }} | |
cache: 'poetry' | |
- name: Install dependencies | |
run: poetry install --only test | |
- name: Run tests | |
run: poetry run tox |