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

Replace Travis with Github Actions #1158

Merged
merged 31 commits into from
Mar 10, 2021

Conversation

ndanielsen
Copy link
Contributor

@ndanielsen ndanielsen commented Feb 19, 2021

This PR is to replace Travis CI with Github Actions.

CI is working nicely on Ubuntu, windows, and macos running python 3.7-3.8 and conda only working with ubuntu at the moment. Running the test suite with conda for macos and windows was timing out, but can likely be fixed with some investigation.

Slack hook integration working with a webhook to a non-yb slack group. Result Link

In order to get conda to work, I had to downgrade pytest-spec.

Still to do:

  • Get Conda working (maybe find a work around on pytest-spec)
  • Get Coveralls working (or migrate to codecov like many other OSS projects)
  • Add slack notification webhook
  • Remove travis stuff

Post Merge TODOs

  • Add the SLACK_WEBHOOK to secrets.
  • Add codecov for this repo

See pytest-spec issue:
pchomik/pytest-spec#41

@@ -14,7 +14,7 @@ cycler==0.10.0
pytest==6.1.1
pytest-cov==2.10.1
pytest-flakes==4.0.2
pytest-spec==3.0.4
pytest-spec>=2.0.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

downgrade to allow conda to work

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for making this fix!

@@ -10,7 +10,7 @@ tests = True
test=pytest

[tool:pytest]
addopts = --verbose --cov=yellowbrick --flakes --spec
addopts = --verbose --cov=yellowbrick --flakes --spec --cov-report=xml --cov-report term
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allow codecov integration to work

* add windows and slack notification

* add windows and slack notification

* add windows and slack notification

* add windows and slack notification

* add windows and slack notification

* add windows and slack notification

* add windows and slack notification

* add windows and slack notification

* add windows and slack notification

Co-authored-by: Nathan Danielsen <nathandanielsen@MacBook-Pro.local>
@ndanielsen ndanielsen changed the title Replace Travis with Github Actions - Work in Progress Replace Travis with Github Actions Feb 25, 2021
@pdamodaran
Copy link
Contributor

@ndanielsen - Thanks for submitting this pull request and providing us a GitHub Actions solution as an alternative to Travis. We have made the determination to migrate from Travis to GitHub Actions and are happy to use your solution. I made some minor changes to this PR.

@ndanielsen
Copy link
Contributor Author

Thanks @pdamodaran. Happy to keep working on this as there are a few other changes to make and was waiting on any feedback.

@ndanielsen
Copy link
Contributor Author

happy to continue contributing and other maintenance tasks if there is a need.

@pdamodaran
Copy link
Contributor

Thanks @pdamodaran. Happy to keep working on this as there are a few other changes to make and was waiting on any feedback.

@ndanielsen - feel free to suggest any changes that need to be made. The ones I made were cosmetic.

@pdamodaran pdamodaran merged commit 77e1e16 into DistrictDataLabs:develop Mar 10, 2021
@ndanielsen
Copy link
Contributor Author

ndanielsen commented Mar 11, 2021

Thanks for the merge. I wasn't ready to pick up the other smaller issues at the moment like the statuses badges and doing a documentation scan to remove references if they are present. Are you going to do it or should I pick that up?

@ndanielsen
Copy link
Contributor Author

Also TODOs:

  • enabling github actions on this repo
  • setting up the slack token access
  • setting up codecov

@ndanielsen
Copy link
Contributor Author

Again happy to help if desired

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

Successfully merging this pull request may close these issues.

None yet

2 participants