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 <damien@micropython.org>
This commit is contained in:
Damien George 2024-07-14 23:47:21 +10:00
parent 4fdad8eabe
commit abbce268af
2 changed files with 4 additions and 4 deletions

View File

@ -194,7 +194,7 @@ jobs:
run: tests/run-tests.py --print-failures run: tests/run-tests.py --print-failures
macos: macos:
runs-on: macos-11.0 runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5

View File

@ -647,9 +647,9 @@ function ci_unix_macos_build {
function ci_unix_macos_run_tests { function ci_unix_macos_run_tests {
# Issues with macOS tests: # Issues with macOS tests:
# - import_pkg7 has a problem with relative imports # - float_parse and float_parse_doubleprec parse/print floats out by a few mantissa bits
# - random_basic has a problem with getrandbits(0) # - ffi_callback crashes for an unknown reason
(cd tests && MICROPY_MICROPYTHON=../ports/unix/build-standard/micropython ./run-tests.py --exclude 'import_pkg7.py' --exclude 'random_basic.py') (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 { function ci_unix_qemu_mips_setup {