-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* MAINT: Bump Python versions in CI * Set up GitHub Actions CI * Fix test env name * Drop coverage in tests and Python 3.8 * Add travis back, update miniconda URL * curl -> wget * Fix URL * Fix env name * Fix typo * Fix typo * Update script to cookiecutter * Fix brew
- Loading branch information
1 parent
23ef90c
commit 1667be2
Showing
5 changed files
with
90 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macOS-latest, ubuntu-latest] | ||
python-version: [3.6, 3.7] | ||
env: | ||
CI_OS: ${{ matrix.os }} | ||
PYVER: ${{ matrix.python-version }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: goanpeca/setup-miniconda@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
activate-environment: intermol-test-env | ||
mamba-version: "*" | ||
channels: conda-forge,omnia,bioconda,defaults | ||
channel-priority: true | ||
environment-file: devtools/conda-envs/test_env.yaml | ||
auto-activate-base: false | ||
|
||
- name: Additional info about the build | ||
shell: bash | ||
run: | | ||
uname -a | ||
df -h | ||
ulimit -a | ||
- name: Environment Information | ||
shell: bash -l {0} | ||
run: | | ||
conda info | ||
conda list | ||
- name: Install package | ||
shell: bash -l {0} | ||
run: | | ||
python -m pip install --no-deps . | ||
- name: Run tests | ||
shell: bash -l {0} | ||
run: | | ||
pytest --pyargs intermol -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: intermol-test-env | ||
channels: | ||
- conda-forge | ||
- omnia | ||
- bioconda | ||
- defaults | ||
dependencies: | ||
# Core | ||
- numpy | ||
- parmed | ||
- openmm | ||
- six | ||
|
||
# Engines | ||
- ambertools | ||
- gromacs | ||
- lammps | ||
|
||
# Testing | ||
- pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.