Skip to content

Commit

Permalink
ci: Update python versions (#147)
Browse files Browse the repository at this point in the history
* ci: Update python versions

* ci: Remove codecov because of new terms/pricing
  • Loading branch information
j6k4m8 authored Aug 21, 2024
1 parent 1124036 commit 120515d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,30 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']

steps:

- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest --cov=./ --cov-report=xml
- name: Codecov
uses: codecov/codecov-action@v1.0.13
pytest
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
- **0.15.0** (August 21 2024)
- Backwards-incompatible changes:
- Removed the Docker container provisioning functionality from the `Neo4jExecutor` class. To continue using this functionality, please use the `tamarind` package directly, or install `dotmotif==0.14.0`
- Housekeeping:
- Removed codecov from CI
- Added Python 3.11 to the test matrix
- **0.14.0** (May 16 2023)
- Housekeeping:
- Upgraded the package manager to Poetry, with version-pinning now handled by the `pyproject.toml` file.
Expand Down
4 changes: 3 additions & 1 deletion dotmotif/executors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2022 The Johns Hopkins University Applied Physics Laboratory.
Copyright 2024 The Johns Hopkins University Applied Physics Laboratory.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -17,3 +17,5 @@
from .Executor import Executor
from .NetworkXExecutor import NetworkXExecutor
from .GrandIsoExecutor import GrandIsoExecutor

__all__ = ["Executor", "NetworkXExecutor", "GrandIsoExecutor"]

0 comments on commit 120515d

Please sign in to comment.