File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ the root directory, run:
60
60
rm -rf dist/*
61
61
poetry publish --build && cd book && ./Deepnote.sh
62
62
```
63
- - Finally, PR the updated pyproject.toml (without the ` requires new pip wheels ` label).
63
+ - Finally, PR the updated pyproject.toml (* without* the ` requires new pip wheels ` label).
64
64
65
65
Note: use ` poetry config pypi-token.pypi <token> ` once to set up your pypi token.
66
66
Original file line number Diff line number Diff line change 3
3
# Copyright 2020 Massachusetts Institute of Technology.
4
4
# Licensed under the BSD 3-Clause License. See LICENSE.TXT for details.
5
5
6
+
6
7
set -euo pipefail
7
8
8
9
# Run the tests in batches to reduce the memory footprint on CI. (I was running
9
10
# out of memory on manipulation's jammy CI)
10
- bazel query ' kind(test, //...)' > /tmp/my_tests.txt
11
+ if [ -n " ${EXCLUDE_TESTS:- } " ]; then
12
+ echo " Excluding tests: $EXCLUDE_TESTS "
13
+ bazel query " kind(test, //...) except $EXCLUDE_TESTS " > /tmp/my_tests.txt
14
+ else
15
+ bazel query ' kind(test, //...)' > /tmp/my_tests.txt
16
+ fi
11
17
sed ' s#^//:#:#g' /tmp/my_tests.txt > /tmp/all_tests.txt
12
18
13
19
BATCH_SIZE=10
Original file line number Diff line number Diff line change 6
6
set -euo pipefail
7
7
8
8
# Run the tests in batches to reduce the memory footprint on CI. (I was running
9
- # out of memory on manipulation's jammy CI)
10
- bazel query ' kind(test, //...)' > /tmp/my_tests.txt
9
+ # out of memory on manipulation's jammy CI).
10
+ if [ -n " ${EXCLUDE_TESTS:- } " ]; then
11
+ echo " Excluding tests: $EXCLUDE_TESTS "
12
+ bazel query " kind(test, //...) except $EXCLUDE_TESTS " > /tmp/my_tests.txt
13
+ else
14
+ bazel query ' kind(test, //...)' > /tmp/my_tests.txt
15
+ fi
11
16
sed ' s#^//:#:#g' /tmp/my_tests.txt > /tmp/all_tests.txt
12
17
13
18
BATCH_SIZE=15
You can’t perform that action at this time.
0 commit comments