Skip to content

Commit

Permalink
drop support for Python 3.9 due to pipe operator for types and set su…
Browse files Browse the repository at this point in the history
…pported versions to 3.10 and 3.11
  • Loading branch information
pmayd committed Oct 29, 2023
1 parent 4675f6d commit 28e8f4c
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 118 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ name: Run tests
on:
push:
branches:
- main
- dev
- main
- dev
pull_request:
branches:
- main
- dev
- main
- dev
workflow_dispatch:

env:
Expand All @@ -24,31 +24,31 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
python-version: ["3.10", "3.11"]
os: [ubuntu-22.04, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run poetry image
uses: abatilo/actions-poetry@v2.0.0
with:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run poetry image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: $POETRY_VERSION
- name: Install dependencies
run: |
poetry install --with dev
- name: Run tests
run: |
poetry run pytest --cov=pystatis tests
- name: Install dependencies
run: |
poetry install --with dev
- name: Run tests
run: |
poetry run pytest --cov=pystatis tests
code-quality:
strategy:
fail-fast: false
matrix:
# only support specific python version, as guidelines differ beween (minor) versions
python-version: ["3.10.13"]
python-version: ["3.11.6"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
Loading

0 comments on commit 28e8f4c

Please sign in to comment.