chore(deps): bump peter-evans/create-pull-request from 5 to 6 #62
Workflow file for this run
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
# Workflow to test our package | |
name: Test | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ '3.8', '3.9', '3.10', '3.11' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.6.0 | |
- name: Install dependencies | |
run: poetry install | |
- name: Lint | |
run: | | |
source $(poetry env info --path)/bin/activate | |
pre-commit install --install-hooks | |
pre-commit run --all-files | |
pre-commit run commitizen-branch --hook-stage push | |
- name: Test | |
run: | | |
source $(poetry env info --path)/bin/activate | |
pytest tests -vv | |
poetry up --help | |
- name: Build | |
run: poetry build |