Skip to content

Commit

Permalink
Remove pkill
Browse files Browse the repository at this point in the history
  • Loading branch information
kciesielski committed Jul 11, 2024
1 parent 3fdf9f9 commit 636655d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,16 @@ jobs:
if: matrix.target-platform == 'JVM' && matrix.scala-version == '2.12'
uses: nick-fields/retry@v2
with:
timeout_minutes: 6
timeout_minutes: 10
max_attempts: 2
command: sbt $SBT_JAVA_OPTS -v "testScoped ${{ matrix.scala-version }} ${{ matrix.target-platform }}; openapiCodegenSbt2_12/scripted" & (sleep 300 && pkill -3 java)
on_retry_command: pkill -3 java
command: sbt $SBT_JAVA_OPTS -v "testScoped ${{ matrix.scala-version }} ${{ matrix.target-platform }}; openapiCodegenSbt2_12/scripted"
- name: Test
if: matrix.target-platform != 'JS' && !(matrix.target-platform == 'JVM' && matrix.scala-version == '2.12')
uses: nick-fields/retry@v2
with:
timeout_minutes: 6
timeout_minutes: 10
max_attempts: 2
command: sbt $SBT_JAVA_OPTS -v "testScoped ${{ matrix.scala-version }} ${{ matrix.target-platform }}" & (sleep 300 && pkill -3 java)
on_retry_command: pkill -3 java
command: sbt $SBT_JAVA_OPTS -v "testScoped ${{ matrix.scala-version }} ${{ matrix.target-platform }}"
# The finatra tests take a really long time (1/3 of the build duration); hence, they are disabled and need to be run separately
#- name: Test finatra
# if: matrix.target-platform != 'JS'
Expand Down

0 comments on commit 636655d

Please sign in to comment.