Skip to content

Commit d41bfc0

Browse files
Test: increase timeout_minutes and CMAKE_BUILD_PARALLEL_LEVEL
1 parent 3dd6429 commit d41bfc0

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/generate_coverage.yaml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Generate coverage and push to Coveralls.io
1212

1313
runs-on: ubuntu-latest
14-
timeout-minutes: 150
14+
timeout-minutes: 180
1515

1616
permissions:
1717
# Needed to cancel any previous runs that are not completed for a given workflow
@@ -122,31 +122,21 @@ jobs:
122122
with:
123123
docker-images: false
124124

125-
- name: Show memory before swap
126-
run: |
127-
free -h
128-
swapon --show || true
129-
130125
- name: Create swap
131126
run: |
132127
sudo fallocate -l 10G /swapfile
133128
sudo chmod 600 /swapfile
134129
sudo mkswap /swapfile
135130
sudo swapon /swapfile
136131
137-
- name: Show memory after swap
138-
run: |
139-
free -h
140-
swapon --show
141-
142132
- name: Build dpnp with coverage
143133
env:
144-
CMAKE_BUILD_PARALLEL_LEVEL: 1
134+
CMAKE_BUILD_PARALLEL_LEVEL: 2
145135
id: build_coverage
146136
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
147137
with:
148138
shell: bash
149-
timeout_minutes: 120
139+
timeout_minutes: 150
150140
max_attempts: 5
151141
retry_on: error
152142
command: |

0 commit comments

Comments
 (0)