-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
👷 CI: Automated CI support for different environments (Fixes #3) #14
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- ✨ Set the default behavior, in case people don't have `core.autocrlf` set. (Note: Most of this code is borrowed from https://github.com/abhiTronix/vidgear)
- 👷 Add and configured `CIlinux.yml` to enable GitHub Action workflow for Linux-based Testing Envs. - ⚡️ Implemented auto-handling of dependencies installation, unit testing, and coverage report uploading. - ⚡️ Added `master` and `dev` branches for triggering CI. - Added `3.7+` python-versions to build matrix. - 👷 Added code coverage through `codecov/codecov-action@v2` workflow for measuring unit-tests effectiveness. -✨ Implemented behavior to about coverage upload on timeout(error code `124`) in pytests. - ✨ Added automated flake8 testing to discover any anomalies in code. (Note: Most of this code is borrowed from https://github.com/abhiTronix/vidgear)
- ✨ Imported Codecov config(codecov.yml) from vidgear to modify coverage threshold, primary branch, ignored files, and other parameters. - 📄 Updated License Notice. (Note: Most of this code is borrowed from https://github.com/abhiTronix/vidgear)
- 👷 Add and configured `appveyor.yml` to enable Appveyor workflow for Windows-based Testing Envs. - ⚡️ Implemented auto-handling of pip dependencies installation, unit testing, and coverage report uploading. - ⚡️ Added `master` and `dev` branches for triggering CI. - 👷 Added `3.7+` 64-bit python-versions to build matrix. - ⚡️ Enabled `fast_finish` to exit immediately on error. (Note: Most of this code is borrowed from https://github.com/abhiTronix/vidgear)
- 👷 Add and configured `azure-pipelines.yml` to enable Azure-Pipelines workflow for MacOS-based Testing Envs. - ⚡️ Implemented auto-handling of dependencies installation, unit testing, and coverage report uploading. - ⚡️ Added `master` and `dev` branches for triggering CI with PR, and default branch as master only. - Added `3.7+` python-versions to build matrix. - 👷 Added code coverage through `codecov` workflow for measuring unit-tests effectiveness. - Added online auto validation of `codecov` bash script using `SH256SUM` and `sig` files as recommended. -✨ Implemented behavior to about coverage upload on timeout(error code `124`) in pytests. - ✨ Added automated flake8 testing to discover any anomalies in code. - 🔥 Maintenance: Replace redundant code. (Note: Most of this code is borrowed from https://github.com/abhiTronix/vidgear)
abhiTronix
added
Enhancement ⚡
New feature Issue/Request enhancing DeFFcode APIs.
WIP 🏗️
Work in Progress
Continous Integration 🏭
Related to Continous Integration(CI).
Maintenance 🔧
Just sorting repository out.
labels
Mar 20, 2022
- 🚑️ Imported `delete_file_safe` from vidgear to safely deletes files at given path. - 💡 Maintenance: Updated code comments. (Note: Most of this code is borrowed from https://github.com/abhiTronix/vidgear)
(Note: Most of this code is borrowed from https://github.com/abhiTronix/vidgear)
- 🏗️ Updated yaml files to exclude beta `dev` branch from triggering workflow on any environment. - 👷 Restricted codecov to use only `master` branch. - 📝 Docs updated contribution guidelines and installation docs with related changes.
Codecov Report
@@ Coverage Diff @@
## master #14 +/- ##
=========================================
Coverage ? 96.21%
=========================================
Files ? 6
Lines ? 582
Branches ? 0
=========================================
Hits ? 560
Misses ? 22
Partials ? 0 Continue to review full report at Codecov.
|
13 tasks
abhiTronix
added
Solved 🥅
Final goal achieved.
and removed
WIP 🏗️
Work in Progress
labels
Mar 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Continous Integration 🏭
Related to Continous Integration(CI).
Enhancement ⚡
New feature Issue/Request enhancing DeFFcode APIs.
Maintenance 🔧
Just sorting repository out.
Solved 🥅
Final goal achieved.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brief Description
This PR implements completely automated Continous Integration support for different environments in DeFFcode project.
Requirements / Checklist
Related Issue
#3
Context
This PR brings complete Continous Integration support for testing DeFFcode APIs under different environments. This PR also fixes related bugs and creates new files related files., and plus adds
.gitattributes
.🚀 Also, All available stable python 3.7+ versions are now officially supported by deffcode. 🎉
Types of changes