Skip to content

Hide versions + py3.12 #347

Hide versions + py3.12

Hide versions + py3.12 #347

Workflow file for this run

name: PyCI
on:
pull_request:
push:
branches:
- 'main'
- 'release-**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.7"
- "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