Skip to content

Commit

Permalink
Enable github tmate
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins committed Apr 4, 2022
1 parent 36e9ef7 commit ef4e29c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ jobs:
python continuous_integration/scripts/parse_stdout.py < reports/stdout > reports/pytest.xml
fi
# - name: Debug with tmate on failure
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
- name: Debug with tmate on failure
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3

- name: Coverage
uses: codecov/codecov-action@v1
Expand Down
1 change: 1 addition & 0 deletions distributed/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2379,6 +2379,7 @@ def _transition(self, key, finish: str, *args, **kwargs):
stimulus_id = scheduler.STIMULUS_ID.get()
except LookupError:
if self._validate:
# Can't pickle ContextVars
raise LookupError(scheduler.STIMULUS_ID.name)
else:
stimulus_id = "<stimulus_id unset>"
Expand Down

0 comments on commit ef4e29c

Please sign in to comment.