Skip to content

Commit

Permalink
ci: update macos runners (#1511)
Browse files Browse the repository at this point in the history
Following the GitHub runner roadmap:
actions/runner-images#9255

fixes #1508
  • Loading branch information
lengau authored Feb 8, 2024
1 parent 560436f commit addb160
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run-tests:
strategy:
matrix:
os: [ubuntu-22.04, macos-11, macos-12, windows-2019, windows-2022]
os: [ubuntu-22.04, macos-12, macos-13, windows-2019, windows-2022]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
Expand Down
5 changes: 0 additions & 5 deletions tests/integration/commands/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import contextlib
import os
import pathlib
import platform
import re
import shutil
import subprocess
Expand Down Expand Up @@ -222,10 +221,6 @@ def test_executable_set(new_path, init_command):

@pytest.mark.slow()
@pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows")
@pytest.mark.xfail(
platform.system() == "Darwin" and platform.platform().startswith("macOS-11."),
reason="Currently failing on macos 11, see https://github.com/canonical/charmcraft/issues/1508",
)
@pytest.mark.skipif(bool(os.getenv("RUNNING_TOX")), reason="does not work inside tox")
@pytest.mark.parametrize("profile", list(commands.init.PROFILES))
def test_tox_success(new_path, init_command, profile):
Expand Down

0 comments on commit addb160

Please sign in to comment.