Skip to content

Commit 5a38c5f

Browse files
authored
Merge pull request #1 from rueedlinger/fix
added pipenv
2 parents 3ffd14a + 8d100c9 commit 5a38c5f

13 files changed

+1362
-59956
lines changed

.github/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI Build
2+
on:
3+
push:
4+
branches: [ master, develop, fix/*, feature/* ]
5+
pull_request:
6+
branches: [ master ]
7+
jobs:
8+
build:
9+
name: 'Test Jupyter Notebooks'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Set up Python 3.7
14+
uses: actions/setup-python@v1
15+
with:
16+
python-version: 3.7
17+
- name: Install pipenv
18+
env:
19+
PIPENV_NOSPIN: 'true'
20+
WORKON_HOME: ~/.pipenv/virtualenvs
21+
PIPENV_CACHE_DIR: ~/.pipenv/pipcache
22+
run: pip install pipenv
23+
- name: Build and Test
24+
env:
25+
PIPENV_NOSPIN: 'true'
26+
WORKON_HOME: ~/.pipenv/virtualenvs
27+
PIPENV_CACHE_DIR: ~/.pipenv/pipcache
28+
run: |
29+
pipenv install --dev
30+
pipenv run py.test --nbval-lax

Pipfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
pytest = "*"
8+
nbval = "*"
9+
10+
[packages]
11+
pandas = "*"
12+
geojson = "*"
13+
beautifulsoup4 = "*"
14+
feedparser = "*"
15+
scikit-image = "*"
16+
matplotlib = "*"
17+
jupyterlab = "*"
18+
19+
[requires]
20+
python_version = "3.7"

Pipfile.lock

Lines changed: 1261 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)