Skip to content

Commit

Permalink
Add Python 3.11 to test matrix, update various dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Rami Chowdhury committed Sep 4, 2023
1 parent 6cad3b2 commit 9823063
Show file tree
Hide file tree
Showing 5 changed files with 420 additions and 424 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: pre-commit/action@v2.0.0
- uses: actions/checkout@master
- uses: actions/setup-python@v4
with:
python-version: 3.10
- uses: pre-commit/action@v2
pytest:
name: pytest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Ensure poetry
uses: abatilo/actions-poetry@v2.1.2
uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: poetry install
- name: Run matrix of tests with Tox
Expand Down
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
default_language_version:
python: python3.8
python: python3.10
fail_fast: true
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
exclude: ^docs/.*$
- id: trailing-whitespace
exclude: README.md
- id: flake8
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
exclude: ^docs/.*$
- id: trailing-whitespace
exclude: README.md
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
hooks:
Expand Down
Loading

0 comments on commit 9823063

Please sign in to comment.