Skip to content

Commit

Permalink
fix: update python (#177)
Browse files Browse the repository at this point in the history
* fix: update python

* fix: try to build in 3.12

* fix: check again

* fix: one more try
  • Loading branch information
Vinit Kumar authored Jul 2, 2023
1 parent 9685c76 commit 9a805a0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, pypy-3.8, pypy-3.9, '3.10', '3.11' , '3.12.0-alpha.4']
python-version: [3.7, 3.8, 3.9, pypy-3.8, pypy-3.9, '3.10', '3.11' , '3.12.0-beta.3']
os: [
ubuntu-latest,
windows-latest,
Expand All @@ -29,7 +29,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
python setup.py install
pip install .
- name: Unit tests
run: |
coverage run -m pytest
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ pytest
coverage
py
flake8
setuptools
10 changes: 8 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[tox]
envlist = py38, py39, py310, py311, pypy37
envlist = py38, py39, py310, py311, py312, pypy38, pypy39


[testenv:flake8]
basepython = python
Expand All @@ -10,5 +11,10 @@ commands = flake8 json2xml
setenv =
PYTHONPATH = {toxinidir}

commands = python setup.py test
allowlist_externals = pytest

commands =
pip install -r requirements-dev.txt
pytest


0 comments on commit 9a805a0

Please sign in to comment.