forked from snurr-group/mofid
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (44 loc) · 1.02 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
run: |
mkdir Output
make test
- name: Run Unit Tests
run: make unittest
- name: Run Intermediate Tests
run : make intermediatetest
- name: Archive Mismatch Artifacts
uses: actions/upload-artifact@v4
with:
name: mismatch
path: Mismatch
if-no-files-found: ignore
retention-days: 1
- name: Run Integration Tests
run: |
python set_paths.py
pip install .
make pytest