26
26
fail-fast : false
27
27
matrix :
28
28
os : [ubuntu-20.04]
29
- python-version : ["3.7", "3. 8", "3.9", "3.10", "3.11 "]
29
+ python-version : ["3.8", "3.12 "]
30
30
steps :
31
31
- uses : actions/checkout@v3
32
32
- name : Set up Python ${{ matrix.python-version }}
@@ -36,17 +36,18 @@ jobs:
36
36
- name : Install and Test
37
37
run : ./.github/workflows/run_ci.sh
38
38
- name : Upload to codecov
39
+ if : matrix.python-version == '3.8'
39
40
40
41
with :
41
42
token : ${{secrets.CODECOV_TOKEN}}
42
43
43
44
linux-build-aarch64 :
44
45
runs-on : ${{ matrix.os }}
45
46
strategy :
46
- fail-fast : false
47
+ fail-fast : true
47
48
matrix :
48
49
os : [ubuntu-20.04]
49
- pyver : [cp37-cp37m, cp38-cp38, cp39-cp39]
50
+ pyver : [cp39-cp39]
50
51
env :
51
52
img : quay.io/pypa/manylinux2014_aarch64
52
53
steps :
58
59
run : |
59
60
docker run --rm -v ${{ github.workspace }}:/src/pyscf:rw --workdir=/src/pyscf ${{ env.img }} \
60
61
bash -exc '/opt/python/${{ matrix.pyver }}/bin/pip install --upgrade pip setuptools && \
61
- /opt/python/${{ matrix.pyver }}/bin/pip install "numpy!=1.16,!=1.17" "scipy!=1.5" h5py pytest pytest-cov pytest-timer pyberny geometric && \
62
+ /opt/python/${{ matrix.pyver }}/bin/pip install "numpy!=1.16,!=1.17" "scipy!=1.5" h5py==3.10 pytest pytest-cov pytest-timer pyberny geometric && \
62
63
yum install -y epel-release && \
63
64
yum-config-manager --enable epel && \
64
65
yum install -y openblas-devel gcc cmake curl && \
@@ -71,14 +72,14 @@ jobs:
71
72
echo 'pbc_tools_pbc_fft_engine = "NUMPY"' > .pyscf_conf.py && \
72
73
echo "dftd3_DFTD3PATH = './pyscf/lib/deps/lib'" >> .pyscf_conf.py && \
73
74
echo "scf_hf_SCF_mute_chkfile = True" >> .pyscf_conf.py && \
74
- ulimit -s 20000 && /opt/python/${{ matrix.pyver }}/bin/pytest pyscf/ --ignore=pyscf/adc --ignore=pyscf/pbc/df --ignore=pyscf/pbc/cc -s -c setup.cfg --cov-report xml --cov-report term --cov-config .coveragerc --cov pyscf'
75
+ ulimit -s 20000 && /opt/python/${{ matrix.pyver }}/bin/pytest pyscf/ --ignore=pyscf/adc --ignore=pyscf/pbc/df --ignore=pyscf/pbc/cc -s -c pytest.ini pyscf'
75
76
76
77
macos-build :
77
78
runs-on : macos-latest
78
79
strategy :
79
- fail-fast : false
80
+ fail-fast : true
80
81
matrix :
81
- python-version : ["3.7 "]
82
+ python-version : ["3.10 "]
82
83
steps :
83
84
- uses : actions/checkout@v3
84
85
- name : Set up Python ${{ matrix.python-version }}
0 commit comments