-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add api parameter for thumbnail size (#144)
* add api parameter for thumbnail size * make max_dimension optinal in case of native resolution * add tests for thumbnail size * fix typo * fix thumbnail size tests * make unwrap more explicit * remove print statement * update workflows * reduce thumbnail variations * add removed token * Update coverage.yml * fix typo * hopefully prevent coverage timeout - split up thumnail tests - reduce threadcount used for test execution * get thread count using github actions specific step * use fixed thread count of 4 * run coverage tests in release mode * ignore large and native thumbnail_size tests in coverage
- Loading branch information
Showing
11 changed files
with
133 additions
and
27 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
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 |
---|---|---|
|
@@ -15,14 +15,16 @@ jobs: | |
|
||
steps: | ||
- name: Checkout Polaris | ||
uses: actions/checkout@v1 | ||
uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
- name: Install Tarpaulin | ||
run: cargo install cargo-tarpaulin | ||
- name: Run Tests | ||
run: cargo tarpaulin --all-features --ignore-tests --out Xml | ||
- name: Run Tarpaulin | ||
uses: actions-rs/[email protected] | ||
with: | ||
args: '--all-features --ignore-tests' | ||
out-type: Xml | ||
timeout: 240 | ||
- name: Upload Results | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
|
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
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
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