Skip to content

Commit 8ccc073

Browse files
committed
skipping macos test because paddle2.4.1 is no longer avaible
1 parent 450acc4 commit 8ccc073

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

.github/workflows/python-package.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -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

tests/requirements_win_mac.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ scipy>=1.4.1
55
Pillow==9.2.0
66
numpy==1.24.0
77
easydict>=1.7
8-
paddlepaddle==3.1.1
8+
paddlepaddle==2.4.1
99
protobuf==3.19.5
1010
torch
1111
torch_geometric

0 commit comments

Comments
 (0)