Only run TPU standalone tests (#16586)
This commit is contained in:
parent
cc49e4a31f
commit
854db60269
|
@ -41,7 +41,7 @@ jobs:
|
|||
env:
|
||||
PYTHON_VER: 3.8
|
||||
strategy:
|
||||
fail-fast: false
|
||||
fail-fast: true
|
||||
max-parallel: 1 # run sequential
|
||||
matrix:
|
||||
# TODO: add also lightning
|
||||
|
|
|
@ -53,7 +53,7 @@ local tputests = base.BaseTest {
|
|||
PL_RUN_TPU_TESTS=1 coverage run --source=lightning_fabric -m pytest -vv --durations=0 ./
|
||||
|
||||
echo "--- Running standalone Fabric tests ---"
|
||||
PL_STANDALONE_TESTS_SOURCE=lightning_fabric PL_STANDALONE_TESTS_BATCH_SIZE=1 bash run_standalone_tests.sh
|
||||
PL_RUN_TPU_TESTS=1 PL_STANDALONE_TESTS_SOURCE=lightning_fabric PL_STANDALONE_TESTS_BATCH_SIZE=1 bash run_standalone_tests.sh
|
||||
|
||||
echo "--- Generating coverage ---"
|
||||
coverage xml
|
||||
|
|
|
@ -53,7 +53,7 @@ local tputests = base.BaseTest {
|
|||
PL_RUN_TPU_TESTS=1 coverage run --source=pytorch_lightning -m pytest -vv --durations=0 ./
|
||||
|
||||
echo "--- Running standalone PL tests ---"
|
||||
PL_STANDALONE_TESTS_SOURCE=pytorch_lightning PL_STANDALONE_TESTS_BATCH_SIZE=1 bash run_standalone_tests.sh
|
||||
PL_RUN_TPU_TESTS=1 PL_STANDALONE_TESTS_SOURCE=pytorch_lightning PL_STANDALONE_TESTS_BATCH_SIZE=1 bash run_standalone_tests.sh
|
||||
|
||||
echo "--- Generating coverage ---"
|
||||
coverage xml
|
||||
|
|
Loading…
Reference in New Issue