Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/billgreenwald/upgrade to 3.0.0 #16

Merged
merged 27 commits into from
Oct 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
328968c
first test added, test passes; still need to add a way to test header…
billgreenwald Oct 8, 2022
e16665c
parameterize and fully test closest2d; passing tests
billgreenwald Oct 8, 2022
06c7027
added tests for browser
billgreenwald Oct 8, 2022
2d416e6
added tests for closest1D, coverage, and expand
billgreenwald Oct 8, 2022
76236a4
added test for findLoops
billgreenwald Oct 8, 2022
6c0d312
added tests for intersect2D
billgreenwald Oct 9, 2022
2bccbc3
added tests for intersect1D
billgreenwald Oct 9, 2022
8070662
added test for juicebox
billgreenwald Oct 9, 2022
ad07de3
added test for subtract2D
billgreenwald Oct 9, 2022
834a06c
added test for subtract1D
billgreenwald Oct 9, 2022
f70db34
fixed function names being left overf rom the one i copied
billgreenwald Oct 9, 2022
eba4acd
added test for window. Only missing non-formatting based test is now …
billgreenwald Oct 9, 2022
e046436
added test for all operations of merge, and multi-operations of merge.
billgreenwald Oct 9, 2022
45d88fb
full test suite, which passes now written. Note that formatTripSpar…
billgreenwald Oct 9, 2022
20ad551
Migrated to python3
billgreenwald Oct 9, 2022
80ea34f
added changelog
billgreenwald Oct 9, 2022
fca22e4
updated pgltools binary to look at PyGLtools module to avoid duplicat…
billgreenwald Oct 9, 2022
ff71b9e
added test case from issue #12 to ensure it passes in any future changes
billgreenwald Oct 9, 2022
487369b
trying out tests
billgreenwald Oct 9, 2022
cb83aad
bump tests
billgreenwald Oct 9, 2022
87dc7cc
blacked
billgreenwald Oct 9, 2022
ded6b38
rename test
billgreenwald Oct 9, 2022
cf9699a
update workflow name
billgreenwald Oct 9, 2022
97673e2
fix workflow
billgreenwald Oct 9, 2022
23fe758
less python versions in test
billgreenwald Oct 9, 2022
a1892fd
fix tests; make it so that command line still works;
billgreenwald Oct 10, 2022
6849a35
black and update workflow
billgreenwald Oct 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: black

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
27 changes: 27 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: pytest

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pip install pytest-parametrization
- name: Test with pytest
run: |
pytest
1 change: 1 addition & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*.ipynb
*/.ipynb*
*/*/.ipynb*
__pycache__*
6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/pgltools.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 73 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file modified Dockerfile
100644 → 100755
Empty file.
19 changes: 0 additions & 19 deletions Module/LICENSE

This file was deleted.

10 changes: 0 additions & 10 deletions Module/PyGLtools.egg-info/PKG-INFO

This file was deleted.

28 changes: 0 additions & 28 deletions Module/PyGLtools.egg-info/SOURCES.txt

This file was deleted.

1 change: 0 additions & 1 deletion Module/PyGLtools.egg-info/dependency_links.txt

This file was deleted.

1 change: 0 additions & 1 deletion Module/PyGLtools.egg-info/not-zip-safe

This file was deleted.

1 change: 0 additions & 1 deletion Module/PyGLtools.egg-info/top_level.txt

This file was deleted.

Loading