Skip to content

Commit 6e0c64d

Browse files
authored
Merge pull request #7 from ExplorerRay/ci-add-test
ci: add pytest to github action
2 parents d2f93b2 + d82b28a commit 6e0c64d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
name: Pylint
2-
1+
name: Python linting and testing
32
on:
43
push:
54
pull_request:
65

76
jobs:
8-
build:
7+
lint_and_test:
98
runs-on: ubuntu-latest
109
strategy:
1110
matrix:
@@ -34,3 +33,8 @@ jobs:
3433
run: |
3534
source .venv/bin/activate
3635
pylint $(git ls-files '*.py')
36+
37+
- name: Running the tests with pytest
38+
run: |
39+
source .venv/bin/activate
40+
python -m pytest

0 commit comments

Comments
 (0)