@@ -222,124 +222,124 @@ jobs:
222222 token : ${{ secrets.CODECOV_TOKEN }}
223223 files : ./cov.xml
224224
225- test-sge :
226- needs : ["build"]
227- strategy :
228- matrix :
229- python-version : [3.11]
230- fail-fast : false
231- runs-on : ubuntu-latest
232- steps :
233- - name : Install system packages
234- run : |
235- export DEBIAN_FRONTEND=noninteractive
236- sudo apt update
237- sudo apt install -y gridengine-common gridengine-exec gridengine-master gridengine-client
238- - name : Configuring SGE
239- run : |
240- # Get hostname
241- HOSTNAME=$(hostname)
225+ # test-sge:
226+ # needs: ["build"]
227+ # strategy:
228+ # matrix:
229+ # python-version: [3.11]
230+ # fail-fast: false
231+ # runs-on: ubuntu-latest
232+ # steps:
233+ # - name: Install system packages
234+ # run: |
235+ # export DEBIAN_FRONTEND=noninteractive
236+ # sudo apt update
237+ # sudo apt install -y apt-get install gridengine-master gridengine-client gridengine-exec gridengine-qmon cpp
238+ # - name: Configuring SGE
239+ # run: |
240+ # # Get hostname
241+ # HOSTNAME=$(hostname)
242242
243- # Set act_qmaster manually
244- echo "$HOSTNAME" | sudo tee /var/lib/gridengine/default/common/act_qmaster
243+ # # Set act_qmaster manually
244+ # echo "$HOSTNAME" | sudo tee /var/lib/gridengine/default/common/act_qmaster
245245
246- # Add execution host (auto-generate config file)
247- EXEC_HOST_FILE=/tmp/exec_host.conf
248- cat <<EOF > "$EXEC_HOST_FILE"
249- hostname $HOSTNAME
250- load_scaling NONE
251- complex_values NONE
252- user_lists NONE
253- xuser_lists NONE
254- projects NONE
255- department NONE
256- use_start_proc FALSE
257- queue_sort_method load
258- EOF
246+ # # Add execution host (auto-generate config file)
247+ # EXEC_HOST_FILE=/tmp/exec_host.conf
248+ # cat <<EOF > "$EXEC_HOST_FILE"
249+ # hostname $HOSTNAME
250+ # load_scaling NONE
251+ # complex_values NONE
252+ # user_lists NONE
253+ # xuser_lists NONE
254+ # projects NONE
255+ # department NONE
256+ # use_start_proc FALSE
257+ # queue_sort_method load
258+ # EOF
259259
260- sudo qconf -Ae "$EXEC_HOST_FILE"
260+ # sudo qconf -Ae "$EXEC_HOST_FILE"
261261
262- # Add queue (auto-generate config file)
263- QUEUE_FILE=/tmp/queue.conf
264- cat <<EOF > "$QUEUE_FILE"
265- qname test.q
266- hostlist $HOSTNAME
267- seq_no 0
268- load_thresholds np_load_avg=1.75
269- suspend_thresholds NONE
270- nsuspend 1
271- suspend_interval 00:05:00
272- priority 0
273- min_cpu_interval 00:05:00
274- processors UNDEFINED
275- qtype BATCH INTERACTIVE
276- ckpt_list NONE
277- pe_list make
278- rerun FALSE
279- slots 2
280- tmpdir /tmp
281- shell /bin/bash
282- prolog NONE
283- epilog NONE
284- shell_start_mode posix_compliant
285- starter_method NONE
286- suspend_method NONE
287- resume_method NONE
288- terminate_method NONE
289- notify 00:00:60
290- owner_list NONE
291- user_lists NONE
292- xuser_lists NONE
293- subordinate_list NONE
294- complex_values NONE
295- projects NONE
296- xprojects NONE
297- calendar NONE
298- initial_state default
299- s_rt INFINITY
300- h_rt INFINITY
301- s_cpu INFINITY
302- h_cpu INFINITY
303- s_fsize INFINITY
304- h_fsize INFINITY
305- s_data INFINITY
306- h_data INFINITY
307- s_stack INFINITY
308- h_stack INFINITY
309- s_core INFINITY
310- h_core INFINITY
311- s_rss INFINITY
312- h_rss INFINITY
313- EOF
314- sudo qconf -Aq "$QUEUE_FILE"
315- - name : Restart services
316- run : |
317- sudo service gridengine-master restart
318- sudo service gridengine-exec restart
319- - name : Confirm setup
320- run : qhost -q
321- - name : Checkout repository
322- uses : actions/checkout@v4
323- with :
324- repository : ${{ github.repository }}
325- - name : Fetch tags
326- run : git fetch --prune --unshallow
327- - name : Setup Python version ${{ matrix.python-version }}
328- uses : actions/setup-python@v5
329- with :
330- python-version : ${{ matrix.python-version }}
331- - name : Install package
332- run : |
333- pip install -e ".[test]"
334- - name : Run tests for Dask
335- run : |
336- pytest -v pydra/engine/tests/test_submitter.py --only-worker=sge \
337- --rootdir pydra --cov pydra --cov-config .coveragerc --cov-report xml:cov.xml
338- - name : Upload coverage to Codecov
339- uses : codecov/codecov-action@v2
340- with :
341- fail_ci_if_error : true
342- token : ${{ secrets.CODECOV_TOKEN }}
262+ # # Add queue (auto-generate config file)
263+ # QUEUE_FILE=/tmp/queue.conf
264+ # cat <<EOF > "$QUEUE_FILE"
265+ # qname test.q
266+ # hostlist $HOSTNAME
267+ # seq_no 0
268+ # load_thresholds np_load_avg=1.75
269+ # suspend_thresholds NONE
270+ # nsuspend 1
271+ # suspend_interval 00:05:00
272+ # priority 0
273+ # min_cpu_interval 00:05:00
274+ # processors UNDEFINED
275+ # qtype BATCH INTERACTIVE
276+ # ckpt_list NONE
277+ # pe_list make
278+ # rerun FALSE
279+ # slots 2
280+ # tmpdir /tmp
281+ # shell /bin/bash
282+ # prolog NONE
283+ # epilog NONE
284+ # shell_start_mode posix_compliant
285+ # starter_method NONE
286+ # suspend_method NONE
287+ # resume_method NONE
288+ # terminate_method NONE
289+ # notify 00:00:60
290+ # owner_list NONE
291+ # user_lists NONE
292+ # xuser_lists NONE
293+ # subordinate_list NONE
294+ # complex_values NONE
295+ # projects NONE
296+ # xprojects NONE
297+ # calendar NONE
298+ # initial_state default
299+ # s_rt INFINITY
300+ # h_rt INFINITY
301+ # s_cpu INFINITY
302+ # h_cpu INFINITY
303+ # s_fsize INFINITY
304+ # h_fsize INFINITY
305+ # s_data INFINITY
306+ # h_data INFINITY
307+ # s_stack INFINITY
308+ # h_stack INFINITY
309+ # s_core INFINITY
310+ # h_core INFINITY
311+ # s_rss INFINITY
312+ # h_rss INFINITY
313+ # EOF
314+ # sudo qconf -Aq "$QUEUE_FILE"
315+ # - name: Restart services
316+ # run: |
317+ # sudo service gridengine-master restart
318+ # sudo service gridengine-exec restart
319+ # - name: Confirm setup
320+ # run: qhost -q
321+ # - name: Checkout repository
322+ # uses: actions/checkout@v4
323+ # with:
324+ # repository: ${{ github.repository }}
325+ # - name: Fetch tags
326+ # run: git fetch --prune --unshallow
327+ # - name: Setup Python version ${{ matrix.python-version }}
328+ # uses: actions/setup-python@v5
329+ # with:
330+ # python-version: ${{ matrix.python-version }}
331+ # - name: Install package
332+ # run: |
333+ # pip install -e ".[test]"
334+ # - name: Run tests for Dask
335+ # run: |
336+ # pytest -v pydra/engine/tests/test_submitter.py --only-worker=sge \
337+ # --rootdir pydra --cov pydra --cov-config .coveragerc --cov-report xml:cov.xml
338+ # - name: Upload coverage to Codecov
339+ # uses: codecov/codecov-action@v2
340+ # with:
341+ # fail_ci_if_error: true
342+ # token: ${{ secrets.CODECOV_TOKEN }}
343343
344344 build-docs :
345345 needs : ['build']
0 commit comments