Browse Source

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>
pull/15462/head
Damien George 4 months ago
parent
commit
abbce268af
  1. 2
      .github/workflows/ports_unix.yml
  2. 6
      tools/ci.sh

2
.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

6
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 {

Loading…
Cancel
Save