Skip to content

Commit

Permalink
Narrow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Jan 25, 2024
1 parent 146a3ba commit 6aa5780
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-20.04]
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
Expand All @@ -18,26 +18,11 @@ jobs:
- name: Compile
run: |
env
cmake -DWITH_RANGE_COULOMB=1 -DWITH_COULOMB_ERF=1 -DWITH_F12=1 -Bbuild -DKEEP_GOING=1 .
cmake -DWITH_RANGE_COULOMB=OFF -DWITH_COULOMB_ERF=OFF -DWITH_F12=OFF -Bbuild -DKEEP_GOING=1 .
cmake --build build
pip install numpy mpmath pyscf
- name: Test for rys-roots
if: startsWith(matrix.os, 'ubuntu')
run: |
cd ${{ github.workspace }}/tests
python test_rys_roots.py
- name: Unittest
if: startsWith(matrix.os, 'ubuntu')
run: |
cd ${{ github.workspace }}/tests
python test_int1e_grids.py
for i in test_cint.py test_3c2e.py test_int2e.py; do
echo $i
curl -O https://raw.githubusercontent.com/sunqm/libcint/master/testsuite/$i
python $i --quick
done
for i in test_c2s.py test_int1e.py test_int2c2e.py test_int3c1e.py; do
echo $i
curl -O https://raw.githubusercontent.com/sunqm/libcint/master/testsuite/$i
python $i
done

0 comments on commit 6aa5780

Please sign in to comment.