This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into payouts-code
- Loading branch information
Showing
94 changed files
with
5,084 additions
and
1,172 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,13 @@ | ||
comment: false | ||
|
||
coverage: | ||
status: | ||
project: | ||
default: | ||
threshold: 60% # make CI green | ||
patch: | ||
default: | ||
threshold: 60% # make CI green | ||
|
||
ignore: # ignore code coverage on following paths | ||
- "**/tests" |
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,44 @@ | ||
name: Coverage-Tarpaulin | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
SQLX_OFFLINE: true | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
# Uncomment to allow PRs to trigger the workflow | ||
# pull_request: | ||
# branches: [ master ] | ||
jobs: | ||
citarp: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Start Docker Compose | ||
- name: Start Docker Compose | ||
run: docker-compose up -d | ||
|
||
- name: Install cargo tarpaulin | ||
uses: taiki-e/install-action@cargo-tarpaulin | ||
- name: Generate code coverage | ||
run: | | ||
cargo tarpaulin --verbose --all-features --timeout 120 --out xml | ||
env: | ||
BACKBLAZE_BUCKET_ID: ${{ secrets.BACKBLAZE_BUCKET_ID }} | ||
BACKBLAZE_KEY: ${{ secrets.BACKBLAZE_KEY }} | ||
BACKBLAZE_KEY_ID: ${{ secrets.BACKBLAZE_KEY_ID }} | ||
S3_ACCESS_TOKEN: ${{ secrets.S3_ACCESS_TOKEN }} | ||
S3_SECRET: ${{ secrets.S3_SECRET }} | ||
S3_URL: ${{ secrets.S3_URL }} | ||
S3_REGION: ${{ secrets.S3_REGION }} | ||
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }} | ||
SQLX_OFFLINE: true | ||
DATABASE_URL: postgresql://labrinth:labrinth@localhost/postgres | ||
|
||
- name: Upload to codecov.io | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
# token: ${{secrets.CODECOV_TOKEN}} # not required for public repos | ||
fail_ci_if_error: true |
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
126 changes: 0 additions & 126 deletions
126
.sqlx/query-3afbc93a8945e7ae07e39a88752f400c06f9c8a8132fd7a05dcc55c6eab5d2e7.json
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...cde031df280039cd8e435cfca5e15ed3d1c4.json → ...3f6817ce05fd3212b900f0d437ca42decd47.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...df15841d35b96fbdcadc7d5af8d6b4671f9e.json → ...1174fbeb9e8399bdcc78ffe8f80181b217a4.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.