Skip to content

Commit fc940b5

Browse files
committed
Enable unit tests to be run on github
1 parent 4a0d724 commit fc940b5

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.11"
19+
20+
- name: Install dependencies
21+
run: |
22+
pip install lalsuite pycbc pytest
23+
pip install -e .
24+
25+
- name: Run tests
26+
run: pytest tests/ -v

0 commit comments

Comments
 (0)