Parcourir la source

trying to fix osx

Rodja Trappe il y a 2 ans
Parent
commit
ae0cfb3de4
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 1
      .github/workflows/test.yml
  2. 1 0
      test_startup.sh

+ 1 - 1
.github/workflows/test.yml

@@ -68,7 +68,7 @@ jobs:
     strategy:
     strategy:
       fail-fast: false
       fail-fast: false
       matrix:
       matrix:
-        os: [windows-latest, macos-latest]
+        os: [macos-latest] #windows-latest,
         python-version: ["3.7", "3.11"]
         python-version: ["3.7", "3.11"]
         exclude: # macos seems to have issues with 3.7; skipping because it's not crucial
         exclude: # macos seems to have issues with 3.7; skipping because it's not crucial
           - os: macos-latest
           - os: macos-latest

+ 1 - 0
test_startup.sh

@@ -37,5 +37,6 @@ do
     elif test -f $path/main.py; then
     elif test -f $path/main.py; then
         check $path/main.py || error=1
         check $path/main.py || error=1
     fi
     fi
+    pkill -f 'Safari' # ensure no old browser tabs keep requesting pages from previous tests (seems to be a osx github action only issue)
 done
 done
 test $error -eq 0
 test $error -eq 0