Skip to content

Commit

Permalink
adding tests on push
Browse files Browse the repository at this point in the history
  • Loading branch information
gwirn committed Jun 5, 2024
1 parent 5caaa6a commit d3231f2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tests

on: [push]

jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
- name: Test
run: |
cd test
python test_openmm_plugin.py
python test_pdbdata.py
python test_trainer.py

0 comments on commit d3231f2

Please sign in to comment.