Make py-3.8 minimum supported version #32
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: Vents | |
on: | |
push: | |
branches: | |
- main | |
- test | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
library: | |
# if: github.event.comment.body == 'test core' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, '3.10', '3.11'] | |
steps: | |
- run: | | |
pip install -U vents | |
tests: | |
# if: github.event.comment.body == 'test core' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, '3.10', '3.11'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Upgrade pip | |
run: | | |
which python | |
python -m pip install --upgrade pip | |
- name: Install proc dependencies | |
run: pip install -r vents/requirements/prod.txt | |
- name: Install dev dependencies | |
run: pip install -r vents/requirements/dev.txt | |
- name: Install test dependencies | |
run: pip install -r vents/requirements/test.txt | |
- name: Test with pytest | |
run: | | |
cd vents | |
pytest -vv |