Skip to content

Commit bf367bd

Browse files
committed
Added pytest to CI
1 parent e668f6d commit bf367bd

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci_pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
27+
pip install .
2828
29-
# - name: Run tests
30-
# run: |
31-
# pytest # or replace with your testing command
29+
- name: Run tests
30+
run: |
31+
pytest # or replace with your testing command
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
def test():
3-
import maxplotlib.canvas.
3+
import maxplotlib.canvas.canvas
4+
import maxplotlib.subfigure.line_plot
45

56
if __name__ == '__main__':
67
test()

0 commit comments

Comments
 (0)