Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final fixes prior to v1.9.6 release #290

Merged
merged 7 commits into from
Sep 26, 2023
Merged
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
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install dependencies with Miniconda
uses: conda-incubator/setup-miniconda@v2
- name: Set up conda environment
uses: mamba-org/setup-micromamba@v1
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
activate-environment: forcebalance-test
environment-file: devtools/conda-envs/test_env.yaml
auto-activate-base: false

create-args: >- # beware the >- instead of |, we don't split on newlines but on spaces
python=${{ matrix.python-version }}

- name: Additional info about the build
shell: bash
run: |
Expand Down Expand Up @@ -91,10 +89,10 @@ jobs:
cd gromacs-5.1.5
cp -r cmake cmake_s
cd cmake
cmake -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/opt/gromacs/5.1.5 -DGMX_DOUBLE=ON -DGMX_BUILD_OWN_FFTW=ON ..
cmake -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/opt/gromacs/5.1.5 -DGMX_DOUBLE=ON -DGMX_BUILD_OWN_FFTW=ON -DGMX_USE_RDTSCP=OFF ..
make -j 8 && make install
cd ../cmake_s
cmake -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/opt/gromacs/5.1.5 -DGMX_BUILD_OWN_FFTW=ON ..
cmake -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/opt/gromacs/5.1.5 -DGMX_BUILD_OWN_FFTW=ON -DGMX_USE_RDTSCP=OFF ..
make -j 8 && make install
cd ..
. $GITHUB_WORKSPACE/opt/gromacs/5.1.5/bin/GMXRC.bash
Expand All @@ -115,7 +113,7 @@ jobs:

- name: Run tests
run: |
pytest -v --cov=forcebalance --cov-config=setup.cfg --durations=0 --cov-report=xml
pytest -vx --cov=forcebalance --cov-config=setup.cfg --durations=0 --cov-report=xml -k "not TestEvaluatorBromineStudy" src/tests/

- name: Run water study
run: |
Expand All @@ -128,4 +126,4 @@ jobs:
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: true
fail_ci_if_error: false
2 changes: 1 addition & 1 deletion devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ dependencies:
- openff-evaluator-base >= 0.4.1
- pint =0.20
# - openff-recharge
- openeye-toolkits
# - openeye-toolkits (Don't have a license file to use with GH Actions.)