Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,6 @@ env:

jobs:

linux:
uses: ./.github/workflows/linuxWF.yml
secrets: inherit

codecheck:
uses: ./.github/workflows/codecheckWF.yml
secrets: inherit

mac:
uses: ./.github/workflows/macWF.yml
secrets: inherit

docker:
uses: ./.github/workflows/dockerWF.yml
secrets: inherit

conda:
uses: ./.github/workflows/condaWF.yml
secrets: inherit
50 changes: 22 additions & 28 deletions .github/workflows/macWF.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,32 +50,26 @@ jobs:
- name: Run tests
run: |
sudo port -N -d test plumed ${{ matrix.variant }}
- name: Run python tests
run: |
for p in $PYVERS ; do
sudo port test $p-plumed
done
# - name: Run python tests
# run: |
# for p in $PYVERS ; do
# sudo port test $p-plumed
# done
#THIS WILL BE REMOVED
- if: always()
run: sudo port test py310-plumed
- if: always()
run: sudo port test py39-plumed
- if: always()
run: sudo port test py38-plumed
- if: always()
run: sudo port test py37-plumed

macsimple:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: Set paths
run: |
echo "$HOME/opt/bin" >> $GITHUB_PATH
echo "CPATH=$HOME/opt/include:$CPATH" >> $GITHUB_ENV
echo "INCLUDE=$HOME/opt/include:$INCLUDE" >> $GITHUB_ENV
echo "LIBRARY_PATH=$HOME/opt/lib:$LIBRARY_PATH" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$HOME/opt/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
- name: Build PLUMED
run: |
brew update > /dev/null
brew install gawk
./configure --disable-dependency-tracking --prefix="$HOME/opt"
make -j 4
make install
- name: Run tests
run: |
make --no-print-directory -C regtest
# these can fail for numerical reasons
make -C regtest checkfail
- name: Archive test results
uses: actions/upload-artifact@v3
if: always()
#Error: See /opt/local/var/macports/logs/_Users_runner_work_plumed2_plumed2_macports_python_py-plumed/py37-plumed/main.log for details.
with:
name: pytestLog
path: |
/opt/local/var/macports/logs