Skip to content

Commit 0abb3b8

Browse files
authored
Update python-package.yml
1 parent aab614d commit 0abb3b8

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/python-package.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,30 +38,30 @@ jobs:
3838
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude .git,QUIP
3939
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4040
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=.git,QUIP
41-
# - name: Build QUIP/libAtoms
42-
# env:
43-
# QUIP_ARCH: linux_x86_64_gfortran
44-
# HAVE_GAP: 0
45-
# run: |
46-
# pwd
47-
# sudo apt-get update -y
48-
# sudo apt-get install -y gfortran libblas-dev liblapack-dev \
49-
# openmpi-bin libopenmpi-dev netcdf-bin libnetcdf-dev libhdf5-serial-dev \
50-
# python3-numpy
51-
# git clone --recursive https://github.com/libAtoms/QUIP QUIP
52-
# mkdir -p QUIP/build/${QUIP_ARCH}
53-
# cp QUIP/.github/workflows/Makefile.inc QUIP/build/${QUIP_ARCH}/Makefile.inc
54-
# (cd QUIP && make libAtoms)
55-
# - name: Build Fortran executable
56-
# env:
57-
# QUIP_ARCH: linux_x86_64_gfortran
58-
# run:
59-
# QUIP_ROOT=${PWD}/QUIP make -C libextxyz fextxyz
41+
- name: Build QUIP/libAtoms
42+
env:
43+
QUIP_ARCH: linux_x86_64_gfortran
44+
HAVE_GAP: 0
45+
run: |
46+
pwd
47+
sudo apt-get update -y
48+
sudo apt-get install -y gfortran libblas-dev liblapack-dev \
49+
openmpi-bin libopenmpi-dev netcdf-bin libnetcdf-dev libhdf5-serial-dev \
50+
python3-numpy
51+
git clone --recursive https://github.com/libAtoms/QUIP QUIP
52+
mkdir -p QUIP/build/${QUIP_ARCH}
53+
cp QUIP/.github/workflows/Makefile.inc QUIP/build/${QUIP_ARCH}/Makefile.inc
54+
(cd QUIP && make libAtoms)
55+
- name: Build Fortran executable
56+
env:
57+
QUIP_ARCH: linux_x86_64_gfortran
58+
run:
59+
QUIP_ROOT=${PWD}/QUIP make -C libextxyz fextxyz
6060
- name: Test with pytest
6161
run: |
62-
USE_FORTRAN=F pytest -v --ignore QUIP
63-
# Uncomment to get SSH access for testing
64-
- name: Setup tmate session
65-
if: failure()
66-
uses: mxschmitt/action-tmate@v3
67-
timeout-minutes: 15
62+
USE_FORTRAN=T pytest -v --ignore QUIP
63+
# # Uncomment to get SSH access for testing
64+
# - name: Setup tmate session
65+
# if: failure()
66+
# uses: mxschmitt/action-tmate@v3
67+
# timeout-minutes: 15

0 commit comments

Comments
 (0)