Skip to content

Commit

Permalink
Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeilstenedmands committed Dec 4, 2024
1 parent f29ecbf commit d8da1ed
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on: [push, pull_request]

env:
PYTHON_MINIMUM_VERSION: "3.12"

jobs:
build_test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
channels: conda-forge
- name: Install dependencies
run: |
conda env update --file requirements.txt --name test
conda list
- name: Build
run: mkdir build && cd build && cmake .. && make
- name: Run tests
run: ./build/tests/test_make_models
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
gemmi
cmake
hdf5=1.12.2
hdf5-external-filter-plugins
hdf5-external-filter-plugins

0 comments on commit d8da1ed

Please sign in to comment.