Skip to content

Commit

Permalink
add support for python 3.11 and 3.12, also add unit tests for those v…
Browse files Browse the repository at this point in the history
…ersions
  • Loading branch information
jmfiola committed Jan 29, 2024
1 parent 946b20b commit cb85937
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
32 changes: 31 additions & 1 deletion .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
python-version: "3.10"
- run: pip install -r requirements-dev.txt
- run: pydocstyle src
unit-test:
unit-test-python-310:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
needs: [black-lint, flake8-lint, pydocstyle-lint]
runs-on: ubuntu-latest
Expand All @@ -54,4 +54,34 @@ jobs:
- run: pip install -r requirements-dev.txt
- run: pip install -e .
- run: coverage run -a -m pytest tests/unit
unit-test-python-311:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
needs: [ black-lint, flake8-lint, pydocstyle-lint ]
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: pip install -r requirements.txt
- run: pip install -r requirements-dev.txt
- run: pip install -e .
- run: coverage run -a -m pytest tests/unit
unit-test-python-312:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
needs: [ black-lint, flake8-lint, pydocstyle-lint ]
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.12"
- run: pip install -r requirements.txt
- run: pip install -r requirements-dev.txt
- run: pip install -e .
- run: coverage run -a -m pytest tests/unit

4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gevent==21.12.0
gevent==23.9.1
influxdb==5.3.1
locust==2.12.2
locust==2.21.0
locust-influxdb-listener==1.0.2
pytest>=6.2.5
pyyaml>=5.4.1
Expand Down

0 comments on commit cb85937

Please sign in to comment.