-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chunking sql export queries, coverage (#249)
* Chunking SQL export queries * cleanup extra files, docstring tweaks
- Loading branch information
1 parent
5db1c2a
commit 23f6bc9
Showing
28 changed files
with
831 additions
and
316 deletions.
There are no files selected for viewing
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,2 @@ | ||
[run] | ||
omit =cumulus_library/schema/* |
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 |
---|---|---|
|
@@ -29,9 +29,23 @@ jobs: | |
run: | | ||
python -m pip install --upgrade pip | ||
pip install ".[test]" | ||
- name: Create mock AWS credentials | ||
run: | | ||
mkdir ~/.aws && touch ~/.aws/credentials | ||
echo -e "[test]\naws_access_key_id = test\naws_secret_access_key = test" > ~/.aws/credentials | ||
- name: Test with pytest | ||
run: | | ||
python -m pytest | ||
python -m pytest --cov-report xml --cov=cumulus_library tests | ||
- name: Generate coverage report | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
thresholdAll: .9 | ||
thresholdNew: 1 | ||
thresholdModified: .95 | ||
|
||
|
||
lint: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
|
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
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.