-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
[BB-248] Improving test coverage #249
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
dad0f61
tfautomv invoke test
Franr 8c51bf9
configure_accounts_profiles tests
Franr 1494753
_extract_credentials happy path test
Franr bacb5b4
trigger also on push
Franr 26e5192
separate unit from integration tests
Franr 7c73f37
get mfa serial + get organization accounts tests
Franr 64fc5e8
backup_file + profile_is_configured tests
Franr 716858b
configure_credentials tests
Franr ffaa084
_get_management_account_id + _credentials_are_valid tests
Franr feaa596
configure_profile + _update_account_ids tests
Franr 11b0276
splitting test_configure_accounts_profiles test + comments
Franr 0150e54
more comments + remove non useful tests
Franr e151b58
comments + clean up
Franr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
21 changes: 1 addition & 20 deletions
21
.../workflows/tests-unit-and-integration.yml → .github/workflows/tests-integration.yaml
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Tests | Unit | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
unit_tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: install_requirements | ||
run: | | ||
echo "[INFO] Installing requirements..." | ||
pip install -r dev-requirements.txt | ||
|
||
- name: run_unit_tests | ||
run: | | ||
echo "[INFO] Running unit tests and generate coverage report" | ||
pytest --verbose | ||
shell: bash | ||
|
||
- name: Report Coveralls | ||
uses: coverallsapp/github-action@v2 |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type
is a built-in function, better not to shadow it 🙂