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

Move testing to github actions #63

Closed
sjsrey opened this issue Jul 28, 2020 · 5 comments
Closed

Move testing to github actions #63

sjsrey opened this issue Jul 28, 2020 · 5 comments

Comments

@sjsrey
Copy link
Member

sjsrey commented Jul 28, 2020

Follow libpysal

@sjsrey sjsrey added the testing label Jul 28, 2020
@jGaboardi jGaboardi self-assigned this Jul 28, 2020
@jGaboardi
Copy link
Member

I can try to get to this tomorrow.

@jGaboardi
Copy link
Member

jGaboardi commented Jul 28, 2020

To Do:

  • create .github/workflows/unittests.yml
    • Support Python 3.6, 3.7, 3.8
    • Support Linux, macOS, Windows
  • create environment .yml files in ci/
  • disable coveralls
  • disable Travis
  • enable Codecov
  • set the CODECOV_TOKEN in pysal/pointpats/Setting/Secrets
  • remove coveralls/nose/etc. from requirements*.txt
  • add codecov/pytest/etc. to requirements*.txt
  • add .coveragerc
  • update setup.py
    • test_suite and tests_require parameters in setup
    • classifiers parameters in setup for Python 3.6, 3.7, 3.8
  • add unittests badge for GHA to README.md
  • add codecov badge to README.md
  • remove .travis.yml

@jGaboardi
Copy link
Member

jGaboardi commented Jul 28, 2020

opencv-contrib-python is causing a problem with GHA in /jGaboardi/pointpats. It doesn't seem to be used anymore, so removing to see if tests run successfully.

802 Solving environment: ...working... failed
803 ##[warning]
804 ResolvePackageNotFound: 
805 - opencv-contrib-python[version='>=4.2.0']

@jGaboardi
Copy link
Member

opencv-contrib-python is used in many instances in the code itself to as cv2/cv.

@martinfleis
Copy link
Member

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants