Skip to content

Commit

Permalink
Add retry to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
goodwillpunning committed May 7, 2024
1 parent df68909 commit 7f1edfd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,23 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'

- name: Run tests
run: sbt coverage test

- name: Coverage Report
run: sbt coverageReport

- name: "Upload coverage to Codecov"
uses: "codecov/codecov-action@v3"
with:
fail_ci_if_error: true
max_attempts: 3
retry_on: error
retry_wait_seconds: 10

0 comments on commit 7f1edfd

Please sign in to comment.