From abbce268afb351d623c2073a4e4ae62a9e71889a Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 14 Jul 2024 23:47:21 +1000 Subject: [PATCH] github/workflows: Use macos-latest for unix macos CI. macos-11.0 is no longer available. With this change in the macos version, some tests which previously failed now pass, and some different tests now fail. Exclude those that fail from the CI until they can be fixed properly. Signed-off-by: Damien George --- .github/workflows/ports_unix.yml | 2 +- tools/ci.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ports_unix.yml b/.github/workflows/ports_unix.yml index 4473847db6..c83f67db87 100644 --- a/.github/workflows/ports_unix.yml +++ b/.github/workflows/ports_unix.yml @@ -194,7 +194,7 @@ jobs: run: tests/run-tests.py --print-failures macos: - runs-on: macos-11.0 + runs-on: macos-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/tools/ci.sh b/tools/ci.sh index 9c54d55a4e..53fcc8b5a3 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -647,9 +647,9 @@ function ci_unix_macos_build { function ci_unix_macos_run_tests { # Issues with macOS tests: - # - import_pkg7 has a problem with relative imports - # - random_basic has a problem with getrandbits(0) - (cd tests && MICROPY_MICROPYTHON=../ports/unix/build-standard/micropython ./run-tests.py --exclude 'import_pkg7.py' --exclude 'random_basic.py') + # - float_parse and float_parse_doubleprec parse/print floats out by a few mantissa bits + # - ffi_callback crashes for an unknown reason + (cd tests && MICROPY_MICROPYTHON=../ports/unix/build-standard/micropython ./run-tests.py --exclude '(float_parse|float_parse_doubleprec|ffi_callback).py') } function ci_unix_qemu_mips_setup {