Skip to content

Commit f476fa5

Browse files
committed
add sdist insllation check to existing yml files
1 parent 0bb4015 commit f476fa5

File tree

3 files changed

+25
-104
lines changed

3 files changed

+25
-104
lines changed

.github/workflows/pnetcdf_c_master.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,19 @@ jobs:
9494
run: |
9595
export PATH=${MPICH_DIR}/bin:${PATH}
9696
make ptests
97+
98+
- name: Re-install PnetCDF-Python from source distribution
99+
run: |
100+
pip uninstall pnetcdf
101+
make install-clean
102+
export CC=$MPICH_DIR/bin/mpicc
103+
python setup.py sdist
104+
pip install dist/pnetcdf-*.tar.gz
97105
106+
- name: Test PnetCDF-Python
107+
run: |
108+
export PATH=${MPICH_DIR}/bin:${PATH}
109+
make ptests
98110
# - name: Tarball
99111
# run: |
100112
# export PATH=${NETCDF_DIR}/bin:${PATH}

.github/workflows/pnetcdf_c_official.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,19 @@ jobs:
9393
export PATH=${MPICH_DIR}/bin:${PATH}
9494
make ptests
9595
96+
- name: Re-install PnetCDF-Python from source distribution
97+
run: |
98+
pip uninstall pnetcdf
99+
make install-clean
100+
export CC=$MPICH_DIR/bin/mpicc
101+
python setup.py sdist
102+
pip install dist/pnetcdf-*.tar.gz
103+
104+
- name: Test PnetCDF-Python
105+
run: |
106+
export PATH=${MPICH_DIR}/bin:${PATH}
107+
make ptests
108+
96109
# - name: Tarball
97110
# run: |
98111
# export PATH=${NETCDF_DIR}/bin:${PATH}

.github/workflows/pnetcdf_c_official_sdist.yml

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)