Skip to content

Commit 7325c1b

Browse files
author
uncojohnco
committed
github/workflows | tests-unit.yml | new | action to run unit tests (32)
1 parent b849ccf commit 7325c1b

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/tests-unit.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Doctest
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'notebooks/**'
7+
8+
jobs:
9+
test-doctest-module:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
max-parallel: 4
13+
matrix:
14+
python: [3.8]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python }}
19+
uses: actions/setup-python@v1
20+
with:
21+
python-version: ${{ matrix.python }}
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install tox
27+
python -m pip install tox-pip-extensions
28+
29+
- name: Run Doctests
30+
run: |
31+
make tests-doctest-modules

0 commit comments

Comments
 (0)