Skip to content

Commit 6b61995

Browse files
committed
Disable requirements action
1 parent f63de31 commit 6b61995

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/requirements.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Check requirements
2+
3+
on:
4+
push:
5+
branches: [master]
6+
branches-ignore:
7+
- joss-paper
8+
pull_request:
9+
branches: [master]
10+
branches-ignore:
11+
- joss-paper
12+
13+
jobs:
14+
test_python:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
with:
19+
submodules: recursive
20+
- name: Set up Python 3.10
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: "3.10"
24+
- name: Install dev requirements
25+
run: |
26+
python -m pip install --upgrade pip
27+
python -m pip install -r requirements/dev-requirements.txt
28+
- name: Install module
29+
run: |
30+
pip install .[fitting,testing]
31+
- name: Test with pytest
32+
run: |
33+
pytest --nbmake

0 commit comments

Comments
 (0)