Bump version to v2.1.3 #366
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: PyCI | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
- 'release-**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
name: Python ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Run tests with requirements.txt | |
run: | | |
python -m venv venv-requirements-txt | |
source venv-requirements-txt/bin/activate | |
pip install -r requirements/py${{ matrix.python-version }}.txt | |
python -m unittest discover pigar/tests/ -t . -v | |
- name: Run tests with pip install -e | |
run: | | |
python -m venv venv-pip-e | |
source venv-pip-e/bin/activate | |
pip install -e . | |
python -m unittest discover pigar/tests/ -t . -v |