Skip to content

Commit

Permalink
remove brew
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Jul 22, 2024
1 parent 977c0fc commit 0577834
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test_cli_misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,12 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu')
- name: Install Linux packages
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y numactl
- name: Install MacOS dependencies
if: startsWith(matrix.os, 'macos')
run: |
brew install numactl
- name: Install requirements
run: |
pip install --upgrade pip
Expand Down
2 changes: 2 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import sys
from logging import getLogger

import pytest
Expand Down Expand Up @@ -80,6 +81,7 @@ def test_cli_exit_code_1(launcher):
assert popen_1.returncode == 1


@pytest.mark.skipif(sys.platform != "linux", reason="Only run on Linux")
def test_cli_numactl():
args = [
"optimum-benchmark",
Expand Down

0 comments on commit 0577834

Please sign in to comment.