From 6cdb69a6647c9b3ddd3884a2c6133ddd27d52970 Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Fri, 31 Jan 2025 00:19:21 -0500 Subject: [PATCH] Test pyfrc isolated mode PR --- .github/workflows/test.yml | 1 + run_tests.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c238c88..2377923 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install deps run: | + pip install git+https://github.com/robotpy/pyfrc.git@separate-process pip install 'robotpy[commands2,romi]<2026.0.0,>=2025.0.0b3' numpy pytest - name: Run tests run: bash run_tests.sh diff --git a/run_tests.sh b/run_tests.sh index b713092..1a5b0ad 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -99,7 +99,7 @@ fi for t in ${TESTS}; do pushd $t > /dev/null pwd - if ! python3 -m robotpy test --builtin "${@:2}"; then + if ! python3 -m robotpy test --builtin --isolated "${@:2}"; then EC=$? echo "Test in $(pwd) failed" exit 1