@@ -48,38 +48,38 @@ jobs:
4848 uses : codecov/codecov-action@v3
4949 if : matrix.python-version == 3.9
5050
51- macos :
52-
53- runs-on : macos-14
54- strategy :
55- fail-fast : false
56- matrix :
57- python-version : [ "3.9" ]
58-
59- steps :
60- - uses : actions/checkout@v2
61- - name : Set up Python ${{ matrix.python-version }}
62- uses : actions/setup-python@v2
63- with :
64- python-version : ${{ matrix.python-version }}
65- - name : Install dependencies
66- run : |
67- python -m pip install --upgrade pip
68- python -m pip install flake8 pytest-cov
69- pip install -r tests/requirements_win_mac.txt
70- - name : generate astar.so
71- run : |
72- python pygmtools/c_astar_src/build_c_astar.py
73- - name : Lint with flake8
74- run : |
75- # stop the build if there are Python syntax errors or undefined names
76- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
77- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
78- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
79- - name : Test with pytest. They are divided into two runs because MindSpore will interfere with Paddle.
80- run : |
81- pytest --cov=pygmtools --cov-report=xml --backend=mindspore tests/test_classic_solvers.py
82- pytest --cov=pygmtools --cov-report=xml --cov-append
51+ # macos:
52+ #
53+ # runs-on: macos-14
54+ # strategy:
55+ # fail-fast: false
56+ # matrix:
57+ # python-version: [ "3.9" ]
58+ #
59+ # steps:
60+ # - uses: actions/checkout@v2
61+ # - name: Set up Python ${{ matrix.python-version }}
62+ # uses: actions/setup-python@v2
63+ # with:
64+ # python-version: ${{ matrix.python-version }}
65+ # - name: Install dependencies
66+ # run: |
67+ # python -m pip install --upgrade pip
68+ # python -m pip install flake8 pytest-cov
69+ # pip install -r tests/requirements_win_mac.txt
70+ # - name: generate astar.so
71+ # run: |
72+ # python pygmtools/c_astar_src/build_c_astar.py
73+ # - name: Lint with flake8
74+ # run: |
75+ # # stop the build if there are Python syntax errors or undefined names
76+ # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
77+ # # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
78+ # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
79+ # - name: Test with pytest. They are divided into two runs because MindSpore will interfere with Paddle.
80+ # run: |
81+ # pytest --cov=pygmtools --cov-report=xml --backend=mindspore tests/test_classic_solvers.py
82+ # pytest --cov=pygmtools --cov-report=xml --cov-append
8383
8484 windows :
8585
0 commit comments