forked from sourcenetwork/defradb
-
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.
- Loading branch information
1 parent
a8c253b
commit 7d452ac
Showing
5 changed files
with
133 additions
and
4 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 |
---|---|---|
|
@@ -45,7 +45,36 @@ jobs: | |
make deps:test | ||
- name: Run detection for changes | ||
run: make test:changes | ||
run: make test:changes-ci | ||
|
||
- name: Upload coverage to Codecov without token, retry on failure | ||
env: | ||
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | ||
if: env.codecov_secret == '' | ||
uses: Wandalen/[email protected] | ||
with: | ||
attempt_limit: 5 | ||
attempt_delay: 10000 | ||
action: codecov/codecov-action@v3 | ||
with: | | ||
name: defradb-codecov | ||
files: ./coverage.txt | ||
os: 'linux' | ||
fail_ci_if_error: true | ||
verbose: true | ||
- name: Upload coverage to Codecov with token | ||
env: | ||
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | ||
if: env.codecov_secret != '' | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ env.codecov_secret }} | ||
name: defradb-codecov | ||
files: ./coverage.txt | ||
os: 'linux' | ||
fail_ci_if_error: true | ||
verbose: true | ||
|
||
## Uncomment to enable ability to SSH into the runner. | ||
#- name: Setup upterm ssh session for debugging | ||
|
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 |
---|---|---|
|
@@ -48,3 +48,32 @@ jobs: | |
|
||
- name: Run the tests, showing name of each test | ||
run: make test:ci | ||
|
||
- name: Upload coverage to Codecov without token, retry on failure | ||
env: | ||
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | ||
if: env.codecov_secret == '' | ||
uses: Wandalen/[email protected] | ||
with: | ||
attempt_limit: 5 | ||
attempt_delay: 10000 | ||
action: codecov/codecov-action@v3 | ||
with: | | ||
name: defradb-codecov | ||
files: ./coverage.txt | ||
os: 'linux' | ||
fail_ci_if_error: true | ||
verbose: true | ||
- name: Upload coverage to Codecov with token | ||
env: | ||
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | ||
if: env.codecov_secret != '' | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ env.codecov_secret }} | ||
name: defradb-codecov | ||
files: ./coverage.txt | ||
os: 'linux' | ||
fail_ci_if_error: true | ||
verbose: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,3 +52,32 @@ jobs: | |
- name: Run tests with Collection Named mutations | ||
run: make test:ci-col-named-mutations | ||
|
||
- name: Upload coverage to Codecov without token, retry on failure | ||
env: | ||
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | ||
if: env.codecov_secret == '' | ||
uses: Wandalen/[email protected] | ||
with: | ||
attempt_limit: 5 | ||
attempt_delay: 10000 | ||
action: codecov/codecov-action@v3 | ||
with: | | ||
name: defradb-codecov | ||
files: ./coverage.txt | ||
os: 'linux' | ||
fail_ci_if_error: true | ||
verbose: true | ||
- name: Upload coverage to Codecov with token | ||
env: | ||
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | ||
if: env.codecov_secret != '' | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ env.codecov_secret }} | ||
name: defradb-codecov | ||
files: ./coverage.txt | ||
os: 'linux' | ||
fail_ci_if_error: true | ||
verbose: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,32 @@ jobs: | |
- name: Run tests with gql mutations | ||
run: make test:ci-gql-mutations | ||
|
||
- name: Upload coverage to Codecov without token, retry on failure | ||
env: | ||
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | ||
if: env.codecov_secret == '' | ||
uses: Wandalen/[email protected] | ||
with: | ||
attempt_limit: 5 | ||
attempt_delay: 10000 | ||
action: codecov/codecov-action@v3 | ||
with: | | ||
name: defradb-codecov | ||
files: ./coverage.txt | ||
os: 'linux' | ||
fail_ci_if_error: true | ||
verbose: true | ||
- name: Upload coverage to Codecov with token | ||
env: | ||
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | ||
if: env.codecov_secret != '' | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ env.codecov_secret }} | ||
name: defradb-codecov | ||
files: ./coverage.txt | ||
os: 'linux' | ||
fail_ci_if_error: true | ||
verbose: 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