fix command to find Python site-packages directory #35
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: Install colordiff | |
run: | | |
sudo apt-get update | |
sudo apt-get install colordiff | |
- name: Build Project and Run Tests | |
run: | | |
mkdir Output | |
make test | |
- name: Run Integration Tests | |
run: | | |
python set_paths.py | |
pip install . | |
make pytest |