Skip to content

Commit

Permalink
ci: macos-latest now is macos-14 (#821)
Browse files Browse the repository at this point in the history
* ci: macos-latest now is macos-14

* Update test_virtualenv.py
  • Loading branch information
henryiii authored Apr 24, 2024
1 parent 5656fce commit 4fec3b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
os: [ubuntu-20.04, windows-latest, macos-13]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-14
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
10 changes: 5 additions & 5 deletions tests/test_virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,16 +196,16 @@ def test_condaenv_create_with_params(make_conda):

@has_conda
def test_condaenv_create_interpreter(make_conda):
venv, dir_ = make_conda(interpreter="3.7")
venv, dir_ = make_conda(interpreter="3.8")
venv.create()
if IS_WINDOWS:
assert dir_.join("python.exe").check()
assert dir_.join("python37.dll").check()
assert dir_.join("python37.pdb").check()
assert not dir_.join("python37.exe").check()
assert dir_.join("python38.dll").check()
assert dir_.join("python38.pdb").check()
assert not dir_.join("python38.exe").check()
else:
assert dir_.join("bin", "python").check()
assert dir_.join("bin", "python3.7").check()
assert dir_.join("bin", "python3.8").check()


@has_conda
Expand Down

0 comments on commit 4fec3b4

Please sign in to comment.