Skip to content

Commit

Permalink
Test discover tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 17, 2023
1 parent 1daf09a commit e096857
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unittest-flux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Test
shell: bash -l {0}
timeout-minutes: 5
run: cd tests; coverage run --omit pympipool/_version.py -m unittest discover .
run: coverage run --omit pympipool/_version.py -m unittest discover tests
env:
OMPI_MCA_plm: 'isolated'
OMPI_MCA_rmaps_base_oversubscribe: 'yes'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
- name: Test
shell: bash -l {0}
timeout-minutes: 5
run: cd tests; python -m unittest discover .
run: python -m unittest discover tests
2 changes: 1 addition & 1 deletion .github/workflows/unittest-openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Test
shell: bash -l {0}
timeout-minutes: 5
run: cd tests; python -m unittest discover .
run: python -m unittest discover tests
env:
OMPI_MCA_plm: 'isolated'
OMPI_MCA_rmaps_base_oversubscribe: 'yes'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
- name: Test
shell: bash -l {0}
timeout-minutes: 5
run: cd tests; python -m unittest discover .
run: python -m unittest discover tests
2 changes: 1 addition & 1 deletion pympipool/shared/executorbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def cancel_items_in_queue(que):
break


def cloudpickle_register(ind=2):
def cloudpickle_register(ind=1):
"""
Cloudpickle can either pickle by value or pickle by reference. The functions which are communicated have to
be pickled by value rather than by reference, so the module which calls the map function is pickled by value.
Expand Down

0 comments on commit e096857

Please sign in to comment.