Skip to content

Commit

Permalink
feat: update runners with specific version and removed the use of ret…
Browse files Browse the repository at this point in the history
…ry for transaction exclusion api testing
  • Loading branch information
jonesho committed Oct 9, 2024
1 parent a71a8dc commit c6a9235
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/traces-api-facade-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
retry_on: error
timeout_minutes: 20
command: |
./gradlew traces-api-facade:app:buildNeeded jacocoRootReport
./gradlew -V traces-api-facade:app:buildNeeded jacocoRootReport
- name: Run tests without coverage
uses: nick-fields/retry@v2
if: ${{ !inputs.coverage }}
Expand All @@ -52,4 +52,4 @@ jobs:
retry_on: error
timeout_minutes: 20
command: |
./gradlew traces-api-facade:app:buildNeeded
./gradlew -V traces-api-facade:app:buildNeeded
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:

jobs:
build-and-publish:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: Transaction exclusion api build
env:
COMMIT_TAG: ${{ inputs.commit_tag }}
Expand Down
20 changes: 5 additions & 15 deletions .github/workflows/transaction-exclusion-api-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
run-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: Transaction exclusion api tests
steps:
- name: Checkout
Expand All @@ -32,20 +32,10 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run tests with coverage
uses: nick-fields/retry@v2
if: ${{ inputs.coverage }}
with:
max_attempts: 2
retry_on: error
timeout_minutes: 20
command: |
./gradlew transaction-exclusion-api:app:buildNeeded jacocoRootReport
run: |
./gradlew transaction-exclusion-api:app:buildNeeded jacocoRootReport
- name: Run tests without coverage
uses: nick-fields/retry@v2
if: ${{ !inputs.coverage }}
with:
max_attempts: 2
retry_on: error
timeout_minutes: 20
command: |
./gradlew transaction-exclusion-api:app:buildNeeded
run: |
./gradlew transaction-exclusion-api:app:buildNeeded

0 comments on commit c6a9235

Please sign in to comment.