run_tests #26
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
name: run_tests | |
on: | |
push: | |
paths: | |
- "**.py" | |
- "Makefile" | |
- "openbabel/**" | |
- "eigen/**" | |
- "src/**" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Build project | |
run: make init | |
- name: Unit Tests | |
run: make test | |
- name: Integration Tests | |
run: | | |
mkdir Output | |
tests/check_intermediate.sh | |
python set_paths.py | |
pip install . | |
make pytest |